Subject: | Config::Tiny 2.17 and after break Perl Critic test suite. |
Hey
With recent Config::Tiny, Perl::Critic fails with:
t/09_theme.t .................................. ok
# Failed test 'Invalid profile path'
# at t/10_user_profile.t line 295.
# 'Could not parse profile "bogus": Failed to open file 'bogus' for reading: No such file or directory'
# doesn't match '(?^msx:File [ ] 'bogus' [ ] does [ ] not [ ] exist)'
# Looks like you failed 1 test of 41.
t/10_user_profile.t ...........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/41 subtests
So, probably the best way to fix this and make it robust for future changes is to match only the Perl::Critic part of the error message.
Thanks