Skip Menu |

This queue is for tickets about the Module-Generic CPAN distribution.

Report information
The Basics
Id: 132678
Status: resolved
Priority: 0/
Queue: Module-Generic

People
Owner: JDEGUEST [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Leading vs. trailing € (v0.12.9)
Seen on a CentOS6 system (with LC_ALL=de_DE.UTF-8, if this matters here): ... # Failed test 'Formatting money using format_money()' # at t/02.num.t line 147. Wide character in print at /opt/perl-5.28.2/lib/site_perl/5.28.2/Test2/Formatter/TAP.pm line 125. # '1.281.284,00 €' # doesn't match '(?^u:€(?^:[[:blank:]\h]+)1.281.284,00)' # Looks like you failed 1 test of 139. t/02.num.t ..... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/139 subtests ...
On 2020-05-22 16:57:09, SREZIC wrote: Show quoted text
> Seen on a CentOS6 system (with LC_ALL=de_DE.UTF-8, if this matters > here): > > ... > # Failed test 'Formatting money using format_money()' > # at t/02.num.t line 147. > Wide character in print at /opt/perl- > 5.28.2/lib/site_perl/5.28.2/Test2/Formatter/TAP.pm line 125. > # '1.281.284,00 €' > # doesn't match '(?^u:€(?^:[[:blank:]\h]+)1.281.284,00)' > # Looks like you failed 1 test of 139. > t/02.num.t ..... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/139 subtests > ...
Happens also on newer CentOS version 8.
Nota software bug, but a unit test bug. Corrected.