Skip to content

Commit

Permalink
m:g// can now work under smartmatch, returns List
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Dec 11, 2014
1 parent 3b96e08 commit bd41b86
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion S05-modifier/counted.t
Expand Up @@ -54,7 +54,6 @@ for (1..6) -> $N {

# more interesting variations of :nth(...)
#?niecza skip 'm:g'
#?rakudo todo 'unknown'
{
ok($data ~~ m:nth(2,3):global/(fo+)/, 'nth(list) is ok');
is(@(), <foo fooo>, 'nth(list) matched correctly');
Expand Down
2 changes: 0 additions & 2 deletions S05-modifier/perl5_0.t
Expand Up @@ -59,9 +59,7 @@ is($vals, 2, 'returned two values in the match');
my @vals = "hello world" ~~ m:P5:g/(\w+)/;
#?rakudo todo 'NYI'
is(+@vals, 2, 'returned two values in the match');
#?rakudo todo 'NYI'
is(@vals[0], 'hello', 'returned correct first value in the match');
#?rakudo todo 'NYI'
is(@vals[1], 'world', 'returned correct second value in the match');

{
Expand Down

0 comments on commit bd41b86

Please sign in to comment.