X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F501_moose_coerce_mouse.t;h=21654820b625a651cc9d0096d0b74999688d96cc;hb=34a904850107fd3cf9ef58ae155af24c7dd71fe7;hp=486e1182ba9364a18e1e0e75443bb29715733ca0;hpb=3b46bd4991dea7ead4e7f52a089222d24554e2bd;p=gitmo%2FMouse.git diff --git a/t/501_moose_coerce_mouse.t b/t/501_moose_coerce_mouse.t index 486e118..2165482 100644 --- a/t/501_moose_coerce_mouse.t +++ b/t/501_moose_coerce_mouse.t @@ -6,7 +6,7 @@ use warnings; use Test::More; use Test::Exception; BEGIN { - plan skip_all => "Moose required for this test" unless eval { require Moose && Moose->VERSION('0.59') }; + plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose && Moose->VERSION('0.68') }; plan tests => 5; } @@ -22,7 +22,7 @@ use Test::Exception; use Mouse; use Mouse::Util::TypeConstraints; - subtype 'HeadersType' => where { defined $_ && eval { $_->isa('Headers') } }; + type 'HeadersType' => where { defined $_ && eval { $_->isa('Headers') } }; coerce 'HeadersType' => from 'HashRef' => via { Headers->new(%{ $_ });