From: Jesse Luehrs Date: Thu, 28 Jun 2012 15:53:06 +0000 (-0500) Subject: fix test in with blead X-Git-Tag: 2.0603~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b7d8ad2f4201a41a80fa204e7ff3dc987cd50c1b;p=gitmo%2FMoose.git fix test in with blead --- diff --git a/t/basics/create.t b/t/basics/create.t index e3bdb3a..49433fe 100644 --- a/t/basics/create.t +++ b/t/basics/create.t @@ -6,6 +6,8 @@ use warnings; use Test::More; use Test::Fatal; +use Class::Load 'is_class_loaded'; + { package Class; use Moose; @@ -46,7 +48,7 @@ like( exception { ); }, qr/You must pass an ARRAY ref of roles/ ); -ok !Made::Of::Fail->isa('UNIVERSAL'), "did not create Made::Of::Fail"; +ok !is_class_loaded('Made::Of::Fail'), "did not create Made::Of::Fail"; isnt( exception { Moose::Meta::Class->create(