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
/
009_attribute_inherited_slot_specs.t
diff --git
a/t/020_attributes/009_attribute_inherited_slot_specs.t
b/t/020_attributes/009_attribute_inherited_slot_specs.t
index
46963b7
..
7903f9d
100644
(file)
--- a/
t/020_attributes/009_attribute_inherited_slot_specs.t
+++ b/
t/020_attributes/009_attribute_inherited_slot_specs.t
@@
-42,8
+42,8
@@
use Test::Exception;
has 'one_last_one' => (is => 'rw', isa => 'Ref');
# this one will work here ....
- has 'fail' => (isa => 'CodeRef');
- has 'other_fail';
+ has 'fail' => (isa => 'CodeRef', is => 'bare');
+ has 'other_fail' => (is => 'bare');
package Bar;
use Moose;