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=31e7afe78ffad306ab71f91737d3c98bd775171e;hpb=de252f0e1d968c969e05364a0e14d05e468d8f29;p=gitmo%2FMouse.git diff --git a/t/500_moose_extends_mouse.t b/t/500_moose_extends_mouse.t index 31e7afe..bcb51dd 100644 --- a/t/500_moose_extends_mouse.t +++ b/t/500_moose_extends_mouse.t @@ -4,12 +4,13 @@ use strict; use warnings; use Test::More; +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 Mouse::Util ':test'; +use Test::Exception; { package Foo; @@ -83,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", );