X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F900_mouse_bugs%2F001_immutable_types.t;h=874ee3b902d7274eaf80f243287f3b38e07a64bd;hb=7f468374d868fcc56f12fe632bcab013d74ca976;hp=b3950e257321ec76421813a599cdf6b15ee0ab41;hpb=2bb76549d42baff2a0dd3c5be170d2850ecf0855;p=gitmo%2FMouse.git diff --git a/t/900_mouse_bugs/001_immutable_types.t b/t/900_mouse_bugs/001_immutable_types.t index b3950e2..874ee3b 100644 --- a/t/900_mouse_bugs/001_immutable_types.t +++ b/t/900_mouse_bugs/001_immutable_types.t @@ -14,7 +14,7 @@ subtype 'Foo', as 'Object', where { $_->isa('A') }; { package C; use Mouse; - has a => ( is => 'rw', isa => 'Foo', coerce => 1 ); + has a => ( is => 'rw', isa => 'Foo' ); } isa_ok(C->new(a => A->new()), 'C');