die on attributes with no methods and no is => 'bare'
[gitmo/Moose.git] / t / 500_test_moose / 003_test_moose_has_attribute_ok.t
index 957ad33..99e69f2 100644 (file)
@@ -14,7 +14,7 @@ BEGIN {
     package Foo;
     use Moose;
 
-    has 'foo';
+    has 'foo', is => 'bare';
 }
 
 {
@@ -23,7 +23,7 @@ BEGIN {
 
     extends 'Foo';
 
-    has 'bar';
+    has 'bar', is => 'bare';
 }