Subject: | Tests fail (if Perl::Critic::Policy::ControlStructures::ProhibitSwitchStatements is installed?) |
On some of my smokers the test suite fails:
...
# Failed test 'Load fails when criticism is fatal'
# at t/02_fatal.t line 34.
# ''
# doesn't match '(?^:compilation aborted)'
# Failed test 'criticism emitted warnings'
# at t/02_fatal.t line 35.
# ''
# doesn't match '(?^:Code before strictures)'
# Failed test 'criticism emitted warnings'
# at t/02_fatal.t line 43.
# ''
# doesn't match '(?^:Code before strictures)'
# Looks like you failed 3 tests of 4.
t/02_fatal.t ....
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests
...
This seems to happen if Perl::Critic::Policy::ControlStructures::ProhibitSwitchStatements is installed.