[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 23:01:20 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27630
Lari Taskula <lari.taskula at hypernova.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #116340|0 |1
is obsolete| |
--- Comment #5 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 116342
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116342&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 either the "float" or "double" steps):
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 7.
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