Adapt regress test following change in output from p5-Package-Stash.

From Andreas Vögele.
This commit is contained in:
sthen 2012-04-09 09:30:19 +00:00
parent 53590d5e54
commit cb5ee82ab4

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-t_016_class_errors_and_edge_cases_t,v 1.1 2012/04/09 09:30:19 sthen Exp $
--- t/016_class_errors_and_edge_cases.t.orig Mon Jan 3 17:46:36 2011
+++ t/016_class_errors_and_edge_cases.t Mon Oct 24 20:48:39 2011
@@ -50,7 +50,7 @@ use Class::MOP;
like( exception {
Class::MOP::Class->create('+++');
- }, qr/^creation of \+\+\+ failed/, '... create requires a valid package_name parameter' );
+ }, qr/^\+\+\+ is not a module name/, '... create requires a valid package_name parameter' );
}