Skip Menu |

This queue is for tickets about the Regexp-Assemble CPAN distribution.

Report information
The Basics
Id: 15044
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Regexp-Assemble

People
Owner: dland [...] cpan.org
Requestors: barbie [...] missbarbell.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.18
Fixed in: 0.19



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 ;)
Subject: Regexp::Assemble basic test failing fixed in 0.19
barbie, thanks for spotting this bug. I fired up a 5.6.1, and sure enough, I got the same error. Fixed in the current release (0.19). Thanks, David