Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test for RT #126883
  • Loading branch information
LLFourn committed Dec 13, 2015
1 parent 9977e56 commit c205f71
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S32-list/map.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 57;
plan 58;

# L<S32::Containers/"List"/"=item map">

Expand Down Expand Up @@ -263,4 +263,10 @@ is( ~((1..3).map: { dbl( $_ ) }),'2 4 6','extern method in map');
is @a.join(":"), "foo:bAr:bAz", 'map can modify what it iterates';
}

# RT #126883
{
ok Any.map({ Slip }) ~~ :(Slip:U),
'only defined Slips are treated specially';
}

# vim: ft=perl6

0 comments on commit c205f71

Please sign in to comment.