Skip to content

Commit 32590b6

Browse files
committed
Bring a test in line with the spec.
1 parent 007a6b7 commit 32590b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S05-match/non-capturing.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ok($str ~~ m{a(b+)c}, 'Matched 1');
1919
ok($/, 'Saved 1');
2020
is($/, $str, 'Grabbed all 1');
2121
#?niecza todo
22-
is($/[0], substr($str,1,-1), 'Correctly captured 1');
22+
is($/[0], substr($str,1,*-1), 'Correctly captured 1');
2323

2424
ok($str ~~ m{a[b+]c}, 'Matched 2');
2525
ok($/, 'Saved 2');

0 commit comments

Comments
 (0)