Subject: | MANIFEST matching test should disregard existing .perlcriticrc |
I installed the module as part of Task::Perl::Critic on a system where I
already brought my dotfiles over. The first test fails. To reproduce:
$ echo 'exclude = Editor::RequireEmacsFileVariables' > ~/.perlcriticrc
$ ./Build test --test_files=t/00_compile.t --test_verbose=1
t/00_compile....NOK 1/1
# Failed test 'successfully loaded policies matches MANIFEST'
# at t/00_compile.t line 20.
# Structures begin differing at:
# $got->[1] = 'Modules::PerlMinimumVersion'
# $expected->[1] = 'Editor::RequireEmacsFileVariables'
# Looks like you failed 1 test of 1.
t/00_compile....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/00_compile.t 1 256 1 1 1
Failed 1/1 test scripts. 1/1 subtests failed.
Files=1, Tests=1, 1 wallclock secs ( 0.41 cusr + 0.04 csys = 0.45 CPU)
Failed 1/1 test programs. 1/1 subtests failed.