X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F030_roles%2F043_conflict_many_methods.t;h=f016fb062af7673b8e0c613fe8ae5089e1d1cd60;hb=757d0de5eaf1c172e6c17a7f257c34424f05d629;hp=4572adf00c24f55331a390411b63dc0b63bf89af;hpb=be0ed15704fdad5f2d8517380a6f24687432c1dd;p=gitmo%2FMoose.git diff --git a/t/030_roles/043_conflict_many_methods.t b/t/030_roles/043_conflict_many_methods.t index 4572adf..f016fb0 100644 --- a/t/030_roles/043_conflict_many_methods.t +++ b/t/030_roles/043_conflict_many_methods.t @@ -33,16 +33,16 @@ use Test::Fatal; package PracticalJoke; use Moose; - ::like ::exception { + ::like( ::exception { with 'Bomb', 'Spouse'; - }, qr/Due to method name conflicts in roles 'Bomb' and 'Spouse', the methods 'explode' and 'fuse' must be implemented or excluded by 'PracticalJoke'/; + }, qr/Due to method name conflicts in roles 'Bomb' and 'Spouse', the methods 'explode' and 'fuse' must be implemented or excluded by 'PracticalJoke'/ ); - ::like ::exception { + ::like( ::exception { with ( 'Bomb', 'Spouse', 'Caninish', 'Treeve', ); - }, qr/Due to a method name conflict in roles 'Caninish' and 'Treeve', the method 'bark' must be implemented or excluded by 'PracticalJoke'/; + }, qr/Due to a method name conflict in roles 'Caninish' and 'Treeve', the method 'bark' must be implemented or excluded by 'PracticalJoke'/ ); } done_testing;