[Koha-bugs] [Bug 13836] Koha/Number/Price.pm: format_for_editing fails 3 tests because of leading spaces in output
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 16 08:09:05 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13836
--- Comment #2 from Marc Véron <veron at veron.ch> ---
Hi Katrin,
See my results below.
Maybe related to Number::Format?
cpan -D Number::Format
Installed: 1.73
CPAN: 1.73 up to date
http://search.cpan.org/~wrw/Number-Format-1.73/Format.pm
Koha version 3.19.00.016
Perl version 5.014002
------------
prove t/Prices.t
t/Prices.t .. 1/16
# Failed test 'format_for_editing should return unformated integer part with
2 decimals'
# at t/Prices.t line 610.
# got: ' 1234567.00'
# expected: '1234567.00'
# Failed test 'format_for_editing should return unformated integer part with
2 decimals'
# at t/Prices.t line 611.
# got: ' 1234567.89'
# expected: '1234567.89'
# Failed test 'format_for_editing should return unformated integer part with
2 decimals'
# at t/Prices.t line 610.
# got: ' 1234567.00'
# expected: '1234567.00'
# Failed test 'format_for_editing should return unformated integer part with
2 decimals'
# at t/Prices.t line 611.
# got: ' 1234567.89'
# expected: '1234567.89'
# Looks like you failed 4 tests of 16.
t/Prices.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/16 subtests
Test Summary Report
-------------------
t/Prices.t (Wstat: 1024 Tests: 16 Failed: 4)
Failed tests: 13-16
Non-zero exit status: 4
Files=1, Tests=16, 1 wallclock secs ( 0.01 usr 0.01 sys + 0.35 cusr 0.18
csys = 0.55 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list