aboutsummaryrefslogtreecommitdiffstats
path: root/libtests
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-28 15:05:06 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit7097f290190885bdcae00ed175be6ea2346e9de8 (patch)
treee3d5514db131bd786059c0baad69d1a197deeabf /libtests
parent0e909bab8e6eabb96b0bbe8063138d04d5a4ac7f (diff)
downloadqpdf-7097f290190885bdcae00ed175be6ea2346e9de8.tar.zst
More editorial changes from m-holger + spell check
Diffstat (limited to 'libtests')
-rw-r--r--libtests/json.cc2
-rw-r--r--libtests/json_handler.cc1
-rw-r--r--libtests/libtests.testcov2
3 files changed, 4 insertions, 1 deletions
diff --git a/libtests/json.cc b/libtests/json.cc
index 754c2b3e..c37af0e8 100644
--- a/libtests/json.cc
+++ b/libtests/json.cc
@@ -29,6 +29,7 @@ static void test_main()
assert(jstr2.getString(value));
assert(value == "a\tb");
assert(! jstr2.getNumber(value));
+ /* cSpell: ignore jbool xavalue dvalue xdvalue */
JSON jint = JSON::makeInt(16059);
JSON jdouble = JSON::makeReal(3.14159);
JSON jexp = JSON::makeNumber("2.1e5");
@@ -128,6 +129,7 @@ static void check_schema(JSON& obj, JSON& schema, unsigned long flags,
static void test_schema()
{
+ /* cSpell: ignore ptional ebra */
JSON schema = JSON::parse(R"(
{
"one": {
diff --git a/libtests/json_handler.cc b/libtests/json_handler.cc
index c1af238f..618395d5 100644
--- a/libtests/json_handler.cc
+++ b/libtests/json_handler.cc
@@ -99,6 +99,7 @@ static void test_all()
{
std::cout << "-- all --" << std::endl;
auto h = make_all_handler();
+ /* cSpell: ignore phour */
JSON j = JSON::parse(R"({
"one": "potato",
"two": 3.14,
diff --git a/libtests/libtests.testcov b/libtests/libtests.testcov
index 444f15bb..3e4d63d0 100644
--- a/libtests/libtests.testcov
+++ b/libtests/libtests.testcov
@@ -70,7 +70,7 @@ JSON parse unexpected } 0
JSON parse unexpected ] 0
JSON parse unexpected : 0
JSON parse unexpected , 0
-JSON parse preature EOF 0
+JSON parse premature EOF 0
JSON parse null character 0
JSON parse bad character 0
JSON parse point after e 0