Skip to content

Commit

Permalink
simplify an enum test a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 13, 2012
1 parent 52a96fb commit ea734f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S12-enums/pseudo-functional.t
Expand Up @@ -5,7 +5,7 @@ plan 13;

# L<S12/Anonymous Mixin Roles using C<but> or C<does>/enumeration supplies the type name as a coercion>

enum day <<:Sun(1) Mon Tue Wed Thu Fri Sat>>;
enum day (:Sun(1), 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');

is day(Tue), day(3), 'day(Tue) same as day(3)';

Expand Down

0 comments on commit ea734f1

Please sign in to comment.