Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bring a test in line with the spec.

  • Loading branch information...
commit 32590b6d864e2eea28ec3f0dedf56544588382c1 1 parent 007a6b7
@jnthn jnthn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  S05-match/non-capturing.t
View
2  S05-match/non-capturing.t
@@ -19,7 +19,7 @@ ok($str ~~ m{a(b+)c}, 'Matched 1');
ok($/, 'Saved 1');
is($/, $str, 'Grabbed all 1');
#?niecza todo
-is($/[0], substr($str,1,-1), 'Correctly captured 1');
+is($/[0], substr($str,1,*-1), 'Correctly captured 1');
ok($str ~~ m{a[b+]c}, 'Matched 2');
ok($/, 'Saved 2');
Please sign in to comment.
Something went wrong with that request. Please try again.