Skip to content

Commit 29eddf1

Browse files
committed
Make tests not fail when path to dist includes "panic"
1 parent eb95629 commit 29eddf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/coretests.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ SKIP: {
570570
or diag $@;
571571
$_112478::VERSION = 1;
572572
eval { _112478->VERSION(9e99) };
573-
unlike $@, qr/panic/, '->VERSION(9e99) does not panic';
573+
unlike $@, qr/^panic: /, '->VERSION(9e99) does not panic';
574574
}
575575

576576
{ # https://rt.cpan.org/Ticket/Display.html?id=79259

0 commit comments

Comments
 (0)