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_type_handles.t
diff --git
a/t/type_constraints/duck_type_handles.t
b/t/type_constraints/duck_type_handles.t
index
67971b7
..
55a0db7
100644
(file)
--- a/
t/type_constraints/duck_type_handles.t
+++ b/
t/type_constraints/duck_type_handles.t
@@
-28,7
+28,7
@@
my @phonograph;
use Moose;
use Moose::Util::TypeConstraints;
- my $ducktype = duck_type 'DuckType' => qw(walk quack);
+ my $ducktype = duck_type 'DuckType' => [qw(walk quack)];
has duck => (
isa => $ducktype,