deprecate non-arrayref enum and duck_type
[gitmo/Moose.git] / t / type_constraints / match_type_operator.t
index 4304487..ca5d45d 100644 (file)
@@ -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,