Add missing tests for JSON_REAL_PRECISION
This commit is contained in:
2
test/suites/encoding-flags/real-precision/env
Normal file
2
test/suites/encoding-flags/real-precision/env
Normal file
@@ -0,0 +1,2 @@
|
||||
JSON_REAL_PRECISION=4
|
||||
export JSON_REAL_PRECISION
|
||||
1
test/suites/encoding-flags/real-precision/input
Normal file
1
test/suites/encoding-flags/real-precision/input
Normal file
@@ -0,0 +1 @@
|
||||
[1.23456789, 1.0, 1.0000000000000002]
|
||||
1
test/suites/encoding-flags/real-precision/output
Normal file
1
test/suites/encoding-flags/real-precision/output
Normal file
@@ -0,0 +1 @@
|
||||
[1.235, 1.0, 1.0]
|
||||
Reference in New Issue
Block a user