Bug 38944: Revert changes to t/00-testcritic.t
Not sure what's happening here. Skipping it for now.
t/00-testcritic.t .. 3246/?
# Failed test 'done_testing() was already called at /usr/share/perl5/Test/Perl/Critic.pm line 105'
# at t/00-testcritic.t line 22.
t/00-testcritic.t .. All 3249 subtests passed
Test Summary Report
-------------------
t/00-testcritic.t (Wstat: 0 Tests: 3251 Failed: 2)
Failed tests: 3250-3251
Parse errors: Plan (1..3249) must be at the beginning or end of the TAP output
Bad plan. You planned 3249 tests but ran 3251.
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
d633edf449
commit
303a3c6a3c
|
|
@ -3,7 +3,6 @@
|
|||
# This script can be used to run perlcritic on perl files in koha
|
||||
|
||||
use Modern::Perl;
|
||||
use Test::NoWarnings qw( had_no_warnings );
|
||||
use Test::More;
|
||||
use English qw(-no_match_vars);
|
||||
|
||||
|
|
@ -17,5 +16,3 @@ if ($EVAL_ERROR) {
|
|||
Test::Perl::Critic->import( -profile => '.perlcriticrc' );
|
||||
my @files = map { chomp; $_ } `git ls-tree -r HEAD --name-only`; # only files part of git
|
||||
all_critic_ok(@files);
|
||||
|
||||
had_no_warnings;
|
||||
|
|
|
|||
Loading…
Reference in New Issue