Skip to content

Commit 9ec9395

Browse files
karenetheridgejkeenan
authored andcommitted
Do not dump verbose diagnostics in perl core.
For: RT # 128160
1 parent a26223c commit 9ec9395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpan/Module-Metadata/t/extract-package.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ foreach my $test_case (@pkg_names) {
159159
or $errs++;
160160
}
161161
is( $warnings, '', "case $test_case->{name}: no warnings from parsing" ) or $errs++;
162-
diag "Got: '" . join(', ', @got) . "'\nModule contents:\n$code" if $errs;
162+
diag "Got: '" . join(', ', @got) . "'\nModule contents:\n$code" if !$ENV{PERL_CORE} && $errs;
163163
}
164164
continue {
165165
++$test_num;

0 commit comments

Comments
 (0)