Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for List.pick(Inf)
  • Loading branch information
lizmat committed Oct 3, 2015
1 parent 94cbbb5 commit 7ce4a38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-list/pick.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 56;
plan 57;

=begin description
Expand Down Expand Up @@ -30,6 +30,7 @@ is pick(2, @arr), <z z>, 'sub pick with $num < +@values, implicit no-replace';
is pick(4, @arr), <z z z>, 'sub pick with $num > +@values';

is (<a b c d>.pick(*).sort).Str, 'a b c d', 'pick(*) returns all the items in the array (but maybe not in order)';
is (<a b c d>.pick(Inf).sort).Str, 'a b c d', 'pick(Inf) returns all the items in the array (but maybe not in order)';

{
my @items = <1 2 3 4>;
Expand Down

0 comments on commit 7ce4a38

Please sign in to comment.