Skip Menu |

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

Report information
The Basics
Id: 132693
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: t/02.num.t failures (v0.12.10)
t/02.num.t still fails on some of my smokers: ... # Failed test 'Precision' # at t/02.num.t line 138. # got: '2' # expected: undef # Failed test 'New object precision' # at t/02.num.t line 146. # got: '2' # expected: undef Use of uninitialized value $tho_sep in concatenation (.) or string at t/02.num.t line 147. Use of uninitialized value $tho_sep in concatenation (.) or string at t/02.num.t line 147. # Failed test 'Formatting number using format()' # at t/02.num.t line 147. # got: '1,281,284.00' # expected: '1281284.00' Use of uninitialized value $tho_sep in regexp compilation at t/02.num.t line 156. Use of uninitialized value $tho_sep in regexp compilation at t/02.num.t line 156. # Failed test 'Formatting money using format_money()' # at t/02.num.t line 156. Wide character in print at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Test2/Formatter/TAP.pm line 125. # '€ 1,281,284.00' # doesn't match '(?^u:1281284.00€)' Use of uninitialized value $tho_sep in regexp compilation at t/02.num.t line 161. Use of uninitialized value $tho_sep in regexp compilation at t/02.num.t line 161. Use of uninitialized value $tho_sep in concatenation (.) or string at t/02.num.t line 161. Use of uninitialized value $tho_sep in concatenation (.) or string at t/02.num.t line 161. # Failed test 'Formatting negative number => (1281284.00)' # at t/02.num.t line 161. # '(1,281,284.00)' # doesn't match '(?^:\(1281284.00\))' # Looks like you failed 5 tests of 139. t/02.num.t ..... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/139 subtests ...
Number::Format is playing trick on me, but I am confident I resolved it this time. See Number::Format RT bug #71044 (https://rt.cpan.org/Ticket/Display.html?id=71044) I wrote a workaround to ensure Number::Format has the values it needs.