From: Jesse Luehrs Date: Tue, 6 Sep 2011 03:54:55 +0000 (-0500) Subject: this error message changed X-Git-Tag: 2.0300~91 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=54c134d43b3c308255532632dd7e1003d2ea7be4;p=gitmo%2FMoose.git this error message changed --- diff --git a/t/cmop/class_errors_and_edge_cases.t b/t/cmop/class_errors_and_edge_cases.t index 36a1ac4..02096b3 100644 --- a/t/cmop/class_errors_and_edge_cases.t +++ b/t/cmop/class_errors_and_edge_cases.t @@ -48,9 +48,9 @@ use Class::MOP; Class::MOP::Class->create(''); }, undef, '... create requires a valid package_name parameter' ); - like( exception { + isnt( exception { Class::MOP::Class->create('+++'); - }, qr/^creation of \+\+\+ failed/, '... create requires a valid package_name parameter' ); + }, undef, '... create requires a valid package_name parameter' ); }