diff options
Diffstat (limited to 't/005-moose.t')
-rw-r--r-- | t/005-moose.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/005-moose.t b/t/005-moose.t index a27e97d..75f9f78 100644 --- a/t/005-moose.t +++ b/t/005-moose.t @@ -28,8 +28,8 @@ $_->meta->make_immutable for qw(Foo Foo::Sub); $foo_sub = Foo::Sub->new; isa_ok $foo_sub, 'Foo'; is $foo_sub->foo, 'FOO', 'inheritance works (immutable)'; -ok(!Foo::Sub->meta->has_method('new'), - 'Foo::Sub doesn\'t have its own new method (immutable)'); +ok(Foo::Sub->meta->has_method('new'), + 'Foo::Sub has its own new method (immutable)'); package Foo::OtherSub; use Moose; @@ -47,5 +47,5 @@ Foo::OtherSub->meta->make_immutable; $foo_othersub = Foo::OtherSub->new; isa_ok $foo_othersub, 'Foo'; is $foo_othersub->foo, 'FOO', 'inheritance works (all immutable)'; -ok(!Foo::OtherSub->meta->has_method('new'), - 'Foo::OtherSub doesn\'t have its own new method (all immutable)'); +ok(Foo::OtherSub->meta->has_method('new'), + 'Foo::OtherSub has its own new method (all immutable)'); |