Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

simplify an enum test a bit

  • Loading branch information...
commit ea734f15398da80911f4b0b665559d49aadbc732 1 parent 52a96fb
@moritz moritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  S12-enums/pseudo-functional.t
View
2  S12-enums/pseudo-functional.t
@@ -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)';
Please sign in to comment.
Something went wrong with that request. Please try again.