Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update a test for current $/-per-routine spec.
  • Loading branch information
jnthn committed Sep 19, 2011
1 parent f3dfe0e commit b68a710
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S05-modifier/pos.t
Expand Up @@ -24,14 +24,15 @@ for ("abcdef") {
#?rakudo skip "s:pos/// NYI"
{
$_ = "foofoofoo foofoofoo";
$/ := Any;
$/ = Any;
ok(s:global:pos/foo/FOO/, 'Globally contiguous substitution');
is($_, "FOOFOOFOO foofoofoo", 'Correctly substituted contiguously');
}

#?niecza skip ':i'
{
my $str = "abcabcabc";
$/ = Any;
ok($str ~~ m:p/abc/, 'Continued match');

ok($/.to == 3, 'Continued match pos');
Expand Down

0 comments on commit b68a710

Please sign in to comment.