projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
die on attributes with no methods and no is => 'bare'
[gitmo/Moose.git]
/
t
/
020_attributes
/
022_legal_options_for_inheritance.t
diff --git
a/t/020_attributes/022_legal_options_for_inheritance.t
b/t/020_attributes/022_legal_options_for_inheritance.t
index
e30cc97
..
c44b7d1
100644
(file)
--- a/
t/020_attributes/022_legal_options_for_inheritance.t
+++ b/
t/020_attributes/022_legal_options_for_inheritance.t
@@
-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;