[Koha-bugs] [Bug 27630] TestBuilder real number precision to use column's size
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 4 22:08:22 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27630
--- Comment #4 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 116340
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116340&action=edit
Bug 27630: Add test to prove different behavior with floats
To test:
1. prove t/db_dependent/TestBuilder.t
2. It might or might not pass all tests - if it passes, run it again
until you get the following error (always with the "float" step):
ok 5 - decimal - Builder builds same precision as DBIx returns.
not ok 6 - float - Builder builds same precision as DBIx returns.
Failed test 'float - Builder builds same precision as DBIx returns.'
at t/db_dependent/TestBuilder.t line 112.
got: '51.7080'
expected: '51.708'
Looks like you failed 1 test of 6.
Sponsored-by: The National Library of Finland
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list