Skip to content

Commit

Permalink
Add tests for RT #122514
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Aug 12, 2014
1 parent 4b608e7 commit ef7e125
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S12-enums/misc.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 13;
plan 15;

# RT #63826
{
Expand Down Expand Up @@ -53,4 +53,11 @@ plan 13;
lives_ok { OK.^methods }, 'can call .^methods on an enum';
}

# anonymous Enum in our context, # RT #122514
{
enum :: <un>;
is +un, 0, 'is un the right value';
is ~un, 'un', 'is un the right string';
}

# vim: ft=perl6

0 comments on commit ef7e125

Please sign in to comment.