Subject: | a bug in a test |
Date: | Tue, 06 Sep 2011 20:56:29 +0400 |
To: | bug-moose [...] rt.cpan.org |
From: | Ukolov Anton <antonuk84 [...] yandex.ru> |
Hello.
Found bug in a test number 10 at 'cmop/class_errors_and_edge_cases.t' :
like( exception {
Class::MOP::Class->create('+++');
}, qr/^creation of \+\+\+ failed/, '... create requires a valid package_name parameter' );
For my system i rewrite it with:
like( exception {
Class::MOP::Class->create('+++');
}, qr/^\+\+\+ is not a module name/, '... create requires a valid package_name parameter' );
And it works for me.
May be is right to do with next regexp?
'qr/^(?:\+\+\+ is not a module name|creation of \+\+\+ failed)/'
uname -a
Linux apropos.host-105 3.0.4-std-def-alt1 #1 SMP Wed Aug 31 07:21:19 UTC 2011 i686 GNU/Linux
perl -le 'use XSLoader; print $XSLoader::VERSION'
0.10
Best regards,
Anton Ukolov