X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ftype_constraints%2Fduck_type_handles.t;h=55a0db76a2563d91d1e5cb886788bcbfa2118f32;hb=refs%2Fheads%2Frfc%2Fdeprecate-nonarrayref-enum;hp=67971b7dbc6f3675c3308b48d467e57ed81fd396;hpb=7d24db9289ff608fb713ac0e699422a4e36f4d42;p=gitmo%2FMoose.git diff --git a/t/type_constraints/duck_type_handles.t b/t/type_constraints/duck_type_handles.t index 67971b7..55a0db7 100644 --- 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,