Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:18
jsonx
jsonx-match-float.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jsonx-match-float.patch of Package jsonx
diff -Ndurp jsonx/test/num_tests.erl jsonx-match-float/test/num_tests.erl --- jsonx/test/num_tests.erl 2013-12-09 16:41:32.000000000 +0200 +++ jsonx-match-float/test/num_tests.erl 2023-08-27 04:33:24.852752345 +0300 @@ -20,6 +20,6 @@ decnumb_test() -> decnumm_test() -> -123 = jsonx:decode(<<"-123">>). decnum00_test() -> - 0.0 = jsonx:decode(<<"0.0">>). + Z = jsonx:decode(<<"0.0">>), true = is_float(Z) andalso Z == 0.0. decnum1_test() -> -0.0012 = jsonx:decode(<<"-1.2e-3">>).
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor