mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
chore: fix some typos in comments (#4345)
chore: fix some typos in comments Signed-off-by: laterlaugh <manziwenzhai@sina.cn>
This commit is contained in:
parent
c883fb0f17
commit
97f0bdaf9a
@ -828,7 +828,7 @@ TEST_CASE("parser class")
|
|||||||
// for ranges in range of IEEE 754-2008 binary64 (double precision)
|
// for ranges in range of IEEE 754-2008 binary64 (double precision)
|
||||||
// this does not accommodate 64 bit integers without loss of accuracy.
|
// this does not accommodate 64 bit integers without loss of accuracy.
|
||||||
// As 64 bit integers are now widely used in software, it is desirable
|
// As 64 bit integers are now widely used in software, it is desirable
|
||||||
// to expand support to to the full 64 bit (signed and unsigned) range
|
// to expand support to the full 64 bit (signed and unsigned) range
|
||||||
// i.e. -(2**63) -> (2**64)-1.
|
// i.e. -(2**63) -> (2**64)-1.
|
||||||
|
|
||||||
// -(2**63) ** Note: compilers see negative literals as negated positive numbers (hence the -1))
|
// -(2**63) ** Note: compilers see negative literals as negated positive numbers (hence the -1))
|
||||||
|
@ -866,7 +866,7 @@ TEST_CASE("regression tests 2")
|
|||||||
CHECK(j.dump() == "[1,4]");
|
CHECK(j.dump() == "[1,4]");
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTION("issue #3343 - json and ordered_json are not interchangable")
|
SECTION("issue #3343 - json and ordered_json are not interchangeable")
|
||||||
{
|
{
|
||||||
json::object_t jobj({ { "product", "one" } });
|
json::object_t jobj({ { "product", "one" } });
|
||||||
ordered_json::object_t ojobj({{"product", "one"}});
|
ordered_json::object_t ojobj({{"product", "one"}});
|
||||||
|
Loading…
Reference in New Issue
Block a user