X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F050_metaclasses%2F050_metarole_backcompat.t;h=82462c1d49c695c0b1d492f0c73c862a842dbf0d;hb=4e1a0020d28612ce072902bf6bc94a073eb852e2;hp=02cec56888541a7766d417d201835e6097b291e3;hpb=be0ed15704fdad5f2d8517380a6f24687432c1dd;p=gitmo%2FMoose.git diff --git a/t/050_metaclasses/050_metarole_backcompat.t b/t/050_metaclasses/050_metarole_backcompat.t index 02cec56..82462c1 100644 --- a/t/050_metaclasses/050_metarole_backcompat.t +++ b/t/050_metaclasses/050_metarole_backcompat.t @@ -583,10 +583,10 @@ use Moose::Util::MetaRole; } } -ok ! exception { +is( exception { package UsesExportedMoose; ExportsMoose->import; -}, 'import module which loads a role from disk during init_meta'; +}, undef, 'import module which loads a role from disk during init_meta' ); { package Foo::Meta::Role;