Skip to content

Commit

Permalink
test for mixing into a Rat, RT #99986
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 29, 2011
1 parent e20ead4 commit b5503f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S14-roles/mixin.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 23;
plan 24;

# L<S14/Run-time Mixins/>

Expand Down Expand Up @@ -105,4 +105,9 @@ is $y.test, 42, 'method from other role was OK too';
'mixin with "does" lists method during introspection';
}

# RT #99986
{
lives_ok { 3/2 but role { } }, 'can mix into a Rat';
}

# vim: syn=perl6

0 comments on commit b5503f3

Please sign in to comment.