Skip Menu |

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

Report information
The Basics
Id: 132681
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: Still t/02.num.t failures
On some systems the test suite still fails, maybe due to locale settings. Here's the log (numerous warnings originating in Number::Format stripped): ... # Failed test 'Thousand separator' # at t/02.num.t line 134. Use of uninitialized value in concatenation (.) or string at /home/cpansand/.cpan/build/2020052223/Test-Simple-1.302175-0/blib/lib/Test/Builder.pm line 807. # got: '' # expected: undef # Failed test 'Precision' # at t/02.num.t line 135. Use of uninitialized value in concatenation (.) or string at /home/cpansand/.cpan/build/2020052223/Test-Simple-1.302175-0/blib/lib/Test/Builder.pm line 807. # got: '' # expected: undef ... # Failed test 'New object precision' # at t/02.num.t line 143. Use of uninitialized value in concatenation (.) or string at /home/cpansand/.cpan/build/2020052223/Test-Simple-1.302175-0/blib/lib/Test/Builder.pm line 807. # got: '' # expected: undef ... # Failed test 'Formatting number using format()' # at t/02.num.t line 144. # got: '1281284' # expected: '1281284.00' ... # Failed test 'Formatting money using format_money()' # at t/02.num.t line 147. Wide character in print at /home/cpansand/.cpan/build/2020052223/Test-Simple-1.302175-0/blib/lib/Test2/Formatter/TAP.pm line 125. # '1281284 €' # doesn't match '(?^u:€1281284.00)' ... # Failed test 'Formatting negative number => (1281284.00)' # at t/02.num.t line 151. # '(1281284)' # doesn't match '(?^:\(1281284.00\))' ...
Corrected a coding design whereby Module::Generic::Scalar would create an object an on undefined value. Now it returns undef as it should