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:
laterlaugh 2024-04-12 21:20:18 +08:00 committed by GitHub
parent c883fb0f17
commit 97f0bdaf9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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"}});