projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e68bbdc
)
Fix method leaking test on 5.10.1 (?)
gfx [Thu, 27 Aug 2009 08:42:07 +0000 (17:42 +0900)]
t/020_attributes/031_method_leak.t
patch
|
blob
|
blame
|
history
diff --git
a/t/020_attributes/031_method_leak.t
b/t/020_attributes/031_method_leak.t
index
7ead624
..
137de9e
100755
(executable)
--- a/
t/020_attributes/031_method_leak.t
+++ b/
t/020_attributes/031_method_leak.t
@@
-17,6
+17,12
@@
use Class::MOP;
use Moose;
}
+{
+ # prepare all the method cache
+ my $meta = Foo->meta;
+ $meta->add_attribute(foo => (is => 'rw'));
+ $meta->remove_attribute('foo');
+}
my $expected = ($] == 5.010_000) ? 3 : 0; # for a bug on 5.10.0