Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[S32-list/pick.t] test for deprecated :replace
  • Loading branch information
Carl Masak committed Oct 24, 2010
1 parent 600cd40 commit 4f15296
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S32-list/pick.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 25;
plan 26;

=begin description
Expand Down Expand Up @@ -78,4 +78,9 @@ is (<a b c d>.pick(*).sort).Str, 'a b c d', 'pick(*) returns all the items in th
is pick("25", @a).elems, 25, "pick works Str arguments";
}

#?rakudo todo 'error message for deprecated :replace parameter'
{
dies_ok({ [1,2,3].pick(4, :replace) }, 'error on deprecated :replace');
}

# vim: ft=perl6

0 comments on commit 4f15296

Please sign in to comment.