die on attributes with no methods and no is => 'bare'
[gitmo/Moose.git] / t / 030_roles / 017_extending_role_attrs.t
index df01d3d..e960a67 100644 (file)
@@ -151,6 +151,7 @@ is_deeply($quux->quux, ["hi"], "... still has the old ArrayRef value");
     for (1..3) {
         has "err$_" => (
             isa => 'Str | Int',
+            is => 'bare',
         );
     }