X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F500_moose_extends_mouse.t;h=bcb51dd98547227db2d09768c6352cb9c2324725;hb=11d415286701d3b51e517cb6826138808967cb89;hp=7c4aa56aaedefd79d879f2272d8047748436bac5;hpb=fc3207cdcdf1ed7baf74f84cbf46f685d70cf0a3;p=gitmo%2FMouse.git diff --git a/t/500_moose_extends_mouse.t b/t/500_moose_extends_mouse.t index 7c4aa56..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 }; + 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", );