Subject: | basic test failing :( |
I get the following trying to install 0.18:
# testing Regexp::Assemble v0.18
# Failed test 'Default_Lexer die'
# in t\00_basic.t at line 949.
# 'Don't pass a Regexp::Assemble to Default_Lexer
# '
# doesn't match '(?m-xis:^Don't pass a Regexp::Assemble to Default_Lexer\n\s
+at \S+ line \d+)'
# Looks like you failed 1 test of 314.
Failed 2/9 test scripts, 77.78% okay. 14835/16181 subtests failed, 8.32% okay.
NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff'
Stop.
Looking at the code you have an explicit "\n" at the end of the croak. This prevents the 'at line ....' information being appended to any die/croak message on Perl 5.6.1. It works fine on 5.8.x. Tested on Windows 5.6.1/5.8.6 and Linux 5.6.1/5.8.7 boxes.
Fancying adding a Perl 5.6.1 to your cpan-tester suite ;)