die on attributes with no methods and no is => 'bare'
[gitmo/Moose.git] / t / 020_attributes / 022_legal_options_for_inheritance.t
index e30cc97..c44b7d1 100644 (file)
@@ -26,7 +26,8 @@ use Test::More tests => 2;
 
     has 'bar' => (
       metaclass       => 'Bar::Meta::Attribute',
-      my_legal_option => sub { 'Bar' }
+      my_legal_option => sub { 'Bar' },
+      is => 'bare',
     );
 
     package Bar::B;