Mouse::Util::does_role() respects $thing->does() method
[gitmo/Mouse.git] / t / 900_mouse_bugs / 001_immutable_types.t
index b3950e2..874ee3b 100644 (file)
@@ -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');