From: Matt S Trout Date: Sat, 5 May 2012 19:30:32 +0000 (+0000) Subject: alter duplication test to not provoke Class::Method::Modifiers loading X-Git-Tag: v1.001002~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c36f405341b2c749dc925f7b0aff40c54891c942;p=gitmo%2FRole-Tiny.git alter duplication test to not provoke Class::Method::Modifiers loading --- diff --git a/Changes b/Changes index 2712f14..6065c12 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ + - alter duplication test to not provoke Class::Method::Modifiers loading + 1.001001 - 2012-04-27 - remove strictures from one last test file diff --git a/t/role-duplication.t b/t/role-duplication.t index 4227777..124909d 100644 --- a/t/role-duplication.t +++ b/t/role-duplication.t @@ -4,7 +4,7 @@ use Test::More; { package Role; use Role::Tiny; - around foo => sub { my $orig = shift; 1 + $orig->(@_) }; + sub foo { my $orig = shift; 1 + $orig->(@_) }; package Base; sub foo { 1 } }