projects
/
gitmo/Perl-Critic-Dynamic-Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7291d9f
)
Don't create anon classes, they're garbage collected or whatever
Shawn M Moore [Tue, 28 Apr 2009 08:52:29 +0000 (
04:52
-0400)]
t/DynamicMoose/ProhibitPublicBuilders.run
patch
|
blob
|
blame
|
history
diff --git
a/t/DynamicMoose/ProhibitPublicBuilders.run
b/t/DynamicMoose/ProhibitPublicBuilders.run
index
0b17a8b
..
c38a3df
100644
(file)
--- a/
t/DynamicMoose/ProhibitPublicBuilders.run
+++ b/
t/DynamicMoose/ProhibitPublicBuilders.run
@@
-143,7
+143,8
@@
has foo => (
## cut
for (1 .. 5) {
- Class::MOP::Class->create_anon_class(
+ Class::MOP::Class->create(
+ "Foo$_",
attributes => [
Class::MOP::Attribute->new(
name => "foo_$_",