X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F010_basics%2F013_create.t;h=cd933d5a354e74ed88116319a3a16982dd01919a;hb=fde8e43f95fe996fbc2a778aa259feeb04552171;hp=1d1d28f36a3b1cb678c71cbaf0d5fdbe28e82d7e;hpb=0bdc9d38dfd3de07aad929f6629f8fa65d434c27;p=gitmo%2FMouse.git diff --git a/t/010_basics/013_create.t b/t/010_basics/013_create.t index 1d1d28f..cd933d5 100644 --- a/t/010_basics/013_create.t +++ b/t/010_basics/013_create.t @@ -1,9 +1,12 @@ #!/usr/bin/perl +# This is automatically generated by author/import-moose-test.pl. +# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!! +use t::lib::MooseCompat; use strict; use warnings; -use Test::More tests => 7; +use Test::More; use Test::Exception; { @@ -46,7 +49,7 @@ throws_ok { ); } qr/You must pass an ARRAY ref of roles/; -ok !Mouse::Util::is_class_loaded('Made::Of::Fail'), "did not create Made::Of::Fail"; +ok !Made::Of::Fail->isa('UNIVERSAL'), "did not create Made::Of::Fail"; dies_ok { Mouse::Meta::Class->create( @@ -58,3 +61,4 @@ dies_ok { # XXX: Continuing::To::Fail gets created anyway +done_testing;