From: Dave Rolsky Date: Fri, 11 Sep 2009 01:32:36 +0000 (-0500) Subject: Fix test description X-Git-Tag: 0.89_02~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=55d892c8303ba6a26b1c492572c9fd51f3f4afe7;p=gitmo%2FMoose.git Fix test description --- diff --git a/t/030_roles/013_method_aliasing_in_composition.t b/t/030_roles/013_method_aliasing_in_composition.t index 5d7480d..4c7db16 100644 --- a/t/030_roles/013_method_aliasing_in_composition.t +++ b/t/030_roles/013_method_aliasing_in_composition.t @@ -52,7 +52,7 @@ ok(My::Class->meta->has_method($_), "we have a $_ method") for qw(foo baz bar ro ::throws_ok { with 'My::Role' => { -alias => { bar => 'role_bar' } }; - } qr/Cannot create a method alias if a local method of the same name exists/, '... this succeeds'; + } qr/Cannot create a method alias if a local method of the same name exists/, '... cannot alias to a name that exists'; sub role_bar { 'FAIL' } }