From: Stevan Little Date: Sun, 15 Jul 2007 17:34:46 +0000 (+0000) Subject: 0.41 X-Git-Tag: 0_44~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed33de10b6c31d157e5118006489af94bef54bbf;p=gitmo%2FClass-MOP.git 0.41 --- diff --git a/t/003_methods.t b/t/003_methods.t index c243c62..5406265 100644 --- a/t/003_methods.t +++ b/t/003_methods.t @@ -84,7 +84,7 @@ is(Foo->foo(), 'Foo::foo', '... Foo->foo() returns "Foo::foo"'); # now check all our other items ... -if (!$Foo->has_method('FOO_CONSTANT')) { +if ($Foo->has_method('FOO_CONSTANT')) { pass('... Foo->has_method(FOO_CONSTANT) (defined w/ use constant)'); } else {