X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F500_moose_extends_mouse.t;h=bcb51dd98547227db2d09768c6352cb9c2324725;hb=7d987c56aa22bb6f6a694783bd7158ef37fad85f;hp=526d4a9f264525da05f5ac409a05dedd3c374bf0;hpb=3118622d182add6c88792d5de3b4af047e8a7c8c;p=gitmo%2FMouse.git diff --git a/t/500_moose_extends_mouse.t b/t/500_moose_extends_mouse.t index 526d4a9..bcb51dd 100644 --- a/t/500_moose_extends_mouse.t +++ b/t/500_moose_extends_mouse.t @@ -4,13 +4,13 @@ use strict; use warnings; use Test::More; -use t::Exception; +use Test::Exception; BEGIN { - plan skip_all => "Moose required for this test" unless eval { require Moose && Moose->VERSION('0.59') }; + plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose && Moose->VERSION('0.68') }; plan tests => 27; } -use t::Exception; +use Test::Exception; { package Foo; @@ -84,7 +84,7 @@ is( eval { $bar->bar }, undef, "no default value" ); is_deeply( - [ sort map { $_->name } Bar->meta->compute_all_applicable_attributes ], + [ sort map { $_->name } Bar->meta->get_all_attributes ], [ sort qw(foo bar) ], "attributes", );