From: Jesse Luehrs Date: Tue, 6 Sep 2011 03:54:55 +0000 (-0500) Subject: this error message changed X-Git-Tag: 2.0205~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a271ec4caf314b2c6ac8ac5be9e5efa3344b88c7;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' ); }