Skip to content

Commit 16a64d0

Browse files
committed
Test::Kwalitee failed not showing why
Installing Module::CPANTS::Analyse from git fixed the issue
1 parent 78567dd commit 16a64d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xt/20_kwalitee.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ use Test::More;
66

77
BEGIN { $ENV{AUTHOR_TESTING} = 1; }
88
eval "use Test::Kwalitee qw( kwalitee_ok );";
9-
plan skip_all => "1..0 # Test::Kwalitee required for this test\n" if $@;
9+
if ($@) {
10+
diag $@ =~ s{\s+at\s+\S+\s+line\s+\d.*\z}{}rs;
11+
plan skip_all => "1..0 # Test::Kwalitee required for this test\n";
12+
}
1013

1114
kwalitee_ok (qw(
1215
-has_meta_yml

0 commit comments

Comments
 (0)