X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F500_moose_extends_mouse.t;h=bcb51dd98547227db2d09768c6352cb9c2324725;hb=ff6870694bb440c13826e0f0fa25e760247fd24e;hp=bdc57709bf78bca4e957e764364d32706d8d6400;hpb=84ef660f3af9eb7802a34ed7a8ce3cdc9c52d79f;p=gitmo%2FMouse.git diff --git a/t/500_moose_extends_mouse.t b/t/500_moose_extends_mouse.t index bdc5770..bcb51dd 100644 --- a/t/500_moose_extends_mouse.t +++ b/t/500_moose_extends_mouse.t @@ -3,7 +3,13 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More; +use Test::Exception; +BEGIN { + plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose && Moose->VERSION('0.68') }; + plan tests => 27; +} + use Test::Exception; { @@ -78,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", );