Skip to content

Commit

Permalink
Fudge for niecza.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Dec 24, 2011
1 parent 0dee370 commit 03b1456
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S32-list/grep.t
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ my @list = (1 .. 10);
}

#?rakudo skip "adverbial block"
#?niecza skip 'No value for parameter Mu $sm in Any.grep'
{
my @result = @list.grep():{ ($_ % 2) };
is(+@result, 5, 'we got a list back');
Expand All @@ -35,6 +36,7 @@ my @list = (1 .. 10);
}

#?rakudo skip "adverbial block"
#?niecza skip 'No value for parameter Mu $sm in Any.grep'
{
my @result = @list.grep :{ ($_ % 2) };
is(+@result, 5, 'we got a list back');
Expand All @@ -46,6 +48,7 @@ my @list = (1 .. 10);
}

#?rakudo skip "closure as non-final argument"
#?niecza skip 'Invocant handling is NYI'
{
my @result = grep { ($_ % 2) }: @list;
is(+@result, 5, 'we got a list back');
Expand Down Expand Up @@ -97,6 +100,7 @@ my @list = (1 .. 10);
}

# RT 71544
#?niecza skip 'No value for parameter $b in ANON'
{
my @in = ( 1, 1, 2, 3, 4, 4 );

Expand Down

0 comments on commit 03b1456

Please sign in to comment.