Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Tests for RT #1354250.
  • Loading branch information
jnthn committed Jun 23, 2015
1 parent 4cabf2d commit 1eb6df0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S12-enums/thorough.t
Expand Up @@ -4,7 +4,7 @@ use MONKEY-TYPING;

use Test;

plan 34;
plan 36;

=begin description
Expand Down Expand Up @@ -117,4 +117,11 @@ ok Bool::True.perl ~~/^ 'Bool::True'/, 'Bool::True.perl';
"Cannot mixin an enum into a class";
}

# RT #125445
{
my enum Bar <A B C>;
ok B.can("value"), '.can(...) on an enum';
ok B.^can("value"), '.^can(...) on an enum';
}

# vim: ft=perl6

0 comments on commit 1eb6df0

Please sign in to comment.