Skip to content
Browse files

Bring a test in line with the spec.

  • Loading branch information...
1 parent 007a6b7 commit 32590b6d864e2eea28ec3f0dedf56544588382c1 @jnthn jnthn committed Nov 18, 2011
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');

0 comments on commit 32590b6

Please sign in to comment.
Something went wrong with that request. Please try again.