X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F800_shikabased%2F013-compatibility-get_method_list.t;h=1fd9a2f3009df67578828b2fbed9c02e7f221bf9;hb=8a168350bb0fea8bdae0034bc89fcdbe81f85ddc;hp=e75ce2674bdc300ab875b344d09c58a477eb31df;hpb=8de42c413af07a9e26501c06d217383929d7f3d3;p=gitmo%2FMouse.git diff --git a/t/800_shikabased/013-compatibility-get_method_list.t b/t/800_shikabased/013-compatibility-get_method_list.t index e75ce26..1fd9a2f 100644 --- a/t/800_shikabased/013-compatibility-get_method_list.t +++ b/t/800_shikabased/013-compatibility-get_method_list.t @@ -1,7 +1,7 @@ use strict; use warnings; use Test::More; -plan skip_all => "This test requires Moose 0.68" unless eval { require Moose; Moose->VERSION(0.68); }; +plan skip_all => "This test requires Moose 0.81" unless eval { require Moose; Moose->VERSION(0.81); }; plan tests => 6; test($_) for qw/Moose Mouse/; @@ -30,8 +30,8 @@ sub test { } ... die $@ if $@; - is join(',', sort "${class}Class"->meta->get_method_list()), 'foo,meta'; - is join(',', sort "${class}ClassImm"->meta->get_method_list()), 'foo,meta,new'; - is join(',', sort "${class}Role"->meta->get_method_list()), 'bar'; + is join(',', sort "${class}Class"->meta->get_method_list()), 'foo,meta', "mutable $class"; + is join(',', sort "${class}ClassImm"->meta->get_method_list()), 'DESTROY,foo,meta,new', "immutable $class"; + is join(',', sort "${class}Role"->meta->get_method_list()), 'bar,meta', "role $class"; }