We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bdb07d commit a7b80feCopy full SHA for a7b80fe
src/test_lib_json/main.cpp
@@ -1257,7 +1257,7 @@ JSONTEST_FIXTURE(ValueTest, nonIntegers) {
1257
1258
// A 16-digit floating point number.
1259
val = Json::Value(2199023255552000.0f);
1260
- JSONTEST_ASSERT_EQUAL(float(2199023255552000), val.asFloat());
+ JSONTEST_ASSERT_EQUAL(float(2199023255552000.0f), val.asFloat());
1261
JSONTEST_ASSERT_STRING_EQUAL("2199023255552000",
1262
normalizeFloatingPointStr(val.asString()));
1263
0 commit comments