From: Dave Rolsky Date: Tue, 26 Oct 2010 21:15:59 +0000 (-0500) Subject: Make sure attr conflict error includes attr name X-Git-Tag: 1.18~45 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=55993820eb68b1eb30683316920ec67d2ab7edeb;p=gitmo%2FMoose.git Make sure attr conflict error includes attr name --- diff --git a/t/030_roles/005_role_conflict_detection.t b/t/030_roles/005_role_conflict_detection.t index 51ee9a0..e9ed296 100644 --- a/t/030_roles/005_role_conflict_detection.t +++ b/t/030_roles/005_role_conflict_detection.t @@ -189,7 +189,7 @@ Role attribute conflicts ::like ::exception { with 'Role::Boo', 'Role::Boo::Hoo'; - }, qr/We have encountered an attribute conflict/, + }, qr/We have encountered an attribute conflict.+ghost/, '... role attrs conflict and method was required'; package My::Test8;