X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F030_roles%2F003_apply_role.t;h=1ccff67e05fe7a0802e9e9c9d7913fcd8cdcb892;hb=f6bee6fe1d579dc3d2ed2952cce9a1556040c8e5;hp=fded07f351b1898e1ac4a6d56354010cdbe9f0d1;hpb=d414e17c1964192a17121570a9e0ccbd9190bde8;p=gitmo%2FMoose.git diff --git a/t/030_roles/003_apply_role.t b/t/030_roles/003_apply_role.t index fded07f..1ccff67 100644 --- a/t/030_roles/003_apply_role.t +++ b/t/030_roles/003_apply_role.t @@ -3,9 +3,8 @@ use strict; use warnings; -use Test::More tests => 87; +use Test::More tests => 86; use Test::Exception; -use Test::Output; { package FooRole; @@ -44,10 +43,7 @@ use Test::Output; use Moose; extends 'BarClass'; - - ::stderr_like { - with 'FooRole'; - } qr/The FooClass class has implicitly overridden the method \(goo\) from role FooRole\. If this is intentional, please exclude the method from composition to silence this warning \(see Moose::Cookbook::Roles::Recipe2\)/; + with 'FooRole'; sub blau {'FooClass::blau'} # << the role wraps this ...