Skip to content

Commit cc31571

Browse files
committed
[perl #123554] stop checking the message
Sith IV/UV larger than Size_t, the overflow can be detected earlier, so the message varies. The error is still reported with a croak(), so it can be captured.
1 parent 48c4d24 commit cc31571

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

t/op/repeat.t

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BEGIN {
66
}
77

88
require './test.pl';
9-
plan(tests => 49);
9+
plan(tests => 48);
1010

1111
# compile time
1212

@@ -176,4 +176,3 @@ is($#that_array, 28, 'list repetition propagates lvalue cx to its lhs');
176176

177177
# see [perl #123554]
178178
ok(!eval '33x~3', "eval 33x~3 should panic, not crash perl");
179-
like($@, qr/^panic: memory wrap/, "check it's a panic");

0 commit comments

Comments
 (0)