Catch up Moose's change d21262bd42c2539c47e5d41e7506710ecd27ad65
[gitmo/Mouse.git] / t / 020_attributes / 022_illegal_options_for_inheritance.t
index 014d946..4bfbf14 100644 (file)
@@ -24,7 +24,7 @@ use Test::Exception;
 
     extends 'Foo';
 
-    ::throws_ok { has '+foo' => (is => 'rw') } qr/illegal/, "can't override is";
+    ::lives_ok { has '+foo' => (is => 'rw') } "can override is";
     ::throws_ok { has '+foo' => (reader => 'bar') } qr/illegal/, "can't override reader";
     ::lives_ok { has '+foo' => (clearer => 'baz') }  "can override unspecified things";