diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-05-08 00:40:43 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-05-12 22:48:45 -0500 |
commit | 3cd44e1d39ea7c19e41f50c57c27394d837ca233 (patch) | |
tree | 87d245170c2308dce0d442a1ae5a6d75db5bce1c /t | |
parent | 5156784e43bc7ce277427c76081cab94fb0ac224 (diff) | |
download | moosex-nonmoose-3cd44e1d39ea7c19e41f50c57c27394d837ca233.tar.gz moosex-nonmoose-3cd44e1d39ea7c19e41f50c57c27394d837ca233.zip |
oops, i should have been making both of these immutable
Diffstat (limited to 't')
-rw-r--r-- | t/004-multi-level.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/004-multi-level.t b/t/004-multi-level.t index 8a249ea..445381b 100644 --- a/t/004-multi-level.t +++ b/t/004-multi-level.t @@ -46,6 +46,7 @@ is($foo_moose_sub->baz, 'BAZ', 'Foo::Moose::Sub::baz'); is(Foo::Moose::Sub->meta->get_method('new'), undef, 'Foo::Moose::Sub just uses the constructor for Foo::Moose'); +Foo::Moose->meta->make_immutable; Foo::Moose::Sub->meta->make_immutable; $foo_moose_sub = Foo::Moose::Sub->new; is($foo_moose_sub->foo, 'FOO', 'Foo::Moose::Sub::foo (immutable)'); |