Ignore MYMETA.json
[gitmo/Mouse.git] / t / 020_attributes / 022_illegal_options_for_inheritance.t
index 014d946..1c9b6ce 100644 (file)
@@ -1,4 +1,7 @@
 #!/usr/bin/perl
+# This is automatically generated by author/import-moose-test.pl.
+# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
+use t::lib::MooseCompat;
 
 use strict;
 use warnings;
@@ -24,7 +27,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";