Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[subset.t] Test for RT 80930
  • Loading branch information
kyleha committed Dec 23, 2010
1 parent 20034ba commit 9d5a903
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions S02-polymorphic_types/subset.t
Expand Up @@ -164,4 +164,10 @@ dies_ok { my Digit $x = 3.1 },
ok 1 ~~ aboveLexVarLimit, 'can use subset that depends on lexical variable (1)';
nok -1 ~~ aboveLexVarLimit, 'can use subset that depends on lexical variable (2)';
}

subset Bug::RT80930 of Int where { $_ %% 2 };
#?rakudo todo 'RT 80930'
lives_ok { my Bug::RT80930 $rt80930 }, 'subset with "::" in the name';


# vim: ft=perl6

0 comments on commit 9d5a903

Please sign in to comment.