diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-06-15 02:10:41 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-06-15 02:12:08 -0500 |
commit | 93eab51bc542fed536c8b0a51a4ee3dbf82b53f4 (patch) | |
tree | 0abbf3599f9c0b2fdd9687a013fa259f81ad6a79 /t/24-nonmoose-moose-nonmoose.t | |
parent | 60c5f48aff6a579ce22bd4b4245f7be346609901 (diff) | |
download | moosex-nonmoose-93eab51bc542fed536c8b0a51a4ee3dbf82b53f4.tar.gz moosex-nonmoose-93eab51bc542fed536c8b0a51a4ee3dbf82b53f4.zip |
fallback constructor still needs to set __INSTANCE__ properly
Diffstat (limited to 't/24-nonmoose-moose-nonmoose.t')
-rw-r--r-- | t/24-nonmoose-moose-nonmoose.t | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/t/24-nonmoose-moose-nonmoose.t b/t/24-nonmoose-moose-nonmoose.t index faa6f6f..ef0ce88 100644 --- a/t/24-nonmoose-moose-nonmoose.t +++ b/t/24-nonmoose-moose-nonmoose.t @@ -68,10 +68,7 @@ Foo::Moose->meta->make_immutable; $foo = Foo::Moose::Sub->new(name => 'foomoosesub', foo2 => 'FOO2'); isa_ok($foo, 'Foo'); isa_ok($foo, 'Foo::Moose'); -TODO: { -local $TODO = 'nonmoose-moose-nonmoose inheritance doesn\'t quite work'; is($foo->foo, 'foomoosesub', 'got name from nonmoose constructor (immutable)'); -} is($foo->foo2, 'FOO2', 'got attribute value from moose constructor (immutable)'); $foo = Foo::Moose->new(name => 'foomoosesub', foo2 => 'FOO2'); isa_ok($foo, 'Foo'); @@ -93,10 +90,7 @@ Bar::Moose->meta->make_immutable; $bar = Bar::Moose::Sub->new(name => 'barmoosesub', bar2 => 'BAR2'); isa_ok($bar, 'Bar'); isa_ok($bar, 'Bar::Moose'); -TODO: { -local $TODO = 'nonmoose-moose-nonmoose inheritance doesn\'t quite work'; is($bar->bar, 'barmoosesub', 'got name from nonmoose constructor (immutable)'); -} is($bar->bar2, 'BAR2', 'got attribute value from moose constructor (immutable)'); $bar = Bar::Moose->new(name => 'barmoosesub', bar2 => 'BAR2'); isa_ok($bar, 'Bar'); |