diff --git a/t/00-testcritic.t b/t/00-testcritic.t index 635d4d06ec..99f529f145 100755 --- a/t/00-testcritic.t +++ b/t/00-testcritic.t @@ -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;