projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
deprecate non-arrayref enum and duck_type
[gitmo/Moose.git]
/
t
/
type_constraints
/
match_type_operator.t
diff --git
a/t/type_constraints/match_type_operator.t
b/t/type_constraints/match_type_operator.t
index
4304487
..
ca5d45d
100644
(file)
--- a/
t/type_constraints/match_type_operator.t
+++ b/
t/type_constraints/match_type_operator.t
@@
-69,8
+69,8
@@
is( break_it_down(), 'undef', '... got the right value');
# checking against enum types
-enum RGB => qw[ red green blue ];
-enum CMYK => qw[ cyan magenta yellow black ];
+enum RGB => [qw[ red green blue ]];
+enum CMYK => [qw[ cyan magenta yellow black ]];
sub is_acceptable_color {
match_on_type shift,