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
/
duck_types.t
diff --git
a/t/type_constraints/duck_types.t
b/t/type_constraints/duck_types.t
index
f0763c8
..
1aef5b5
100644
(file)
--- a/
t/type_constraints/duck_types.t
+++ b/
t/type_constraints/duck_types.t
@@
-38,7
+38,7
@@
use Test::Fatal;
use Moose;
use Moose::Util::TypeConstraints;
- duck_type 'DuckType' => qw(quack);
+ duck_type 'DuckType' => [qw(quack)];
duck_type 'SwanType' => [qw(honk)];
has duck => (