summaryrefslogtreecommitdiffstats
path: root/t/50-buggy-constructor-inlining.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-06-15 02:10:41 -0500
committerJesse Luehrs <doy@tozt.net>2010-06-15 02:12:08 -0500
commit93eab51bc542fed536c8b0a51a4ee3dbf82b53f4 (patch)
tree0abbf3599f9c0b2fdd9687a013fa259f81ad6a79 /t/50-buggy-constructor-inlining.t
parent60c5f48aff6a579ce22bd4b4245f7be346609901 (diff)
downloadmoosex-nonmoose-93eab51bc542fed536c8b0a51a4ee3dbf82b53f4.tar.gz
moosex-nonmoose-93eab51bc542fed536c8b0a51a4ee3dbf82b53f4.zip
fallback constructor still needs to set __INSTANCE__ properly
Diffstat (limited to 't/50-buggy-constructor-inlining.t')
-rw-r--r--t/50-buggy-constructor-inlining.t2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/50-buggy-constructor-inlining.t b/t/50-buggy-constructor-inlining.t
index 591fae0..c72c7c8 100644
--- a/t/50-buggy-constructor-inlining.t
+++ b/t/50-buggy-constructor-inlining.t
@@ -26,9 +26,7 @@ my ($Foo, $Bar, $Baz) = (0, 0, 0);
}
Baz->new;
-{ local $TODO = "need to call custom constructor for other classes, not Moose::Object->new";
is($Foo, 1, "Foo->new is called");
-}
{ local $TODO = "need to call non-Moose constructor, not superclass constructor";
is($Bar, 0, "Bar->new is not called");
}