diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-01-24 12:47:06 +0100 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-02-01 15:01:57 +0100 |
commit | cba1c352e3c4236205dc96de643e780abb3c7b64 (patch) | |
tree | 95ec48de3cb0e52b11cfda17361091a0d2d9739f /libtests/qtest/json_parse | |
parent | b6b4d3b299490966524ee5a1a8ecc03c267af0c8 (diff) | |
download | qpdf-cba1c352e3c4236205dc96de643e780abb3c7b64.tar.zst |
In JSONParser add lex_state ls_number_minus
Diffstat (limited to 'libtests/qtest/json_parse')
-rw-r--r-- | libtests/qtest/json_parse/bad-31.out | 2 | ||||
-rw-r--r-- | libtests/qtest/json_parse/bad-41.json | 2 | ||||
-rw-r--r-- | libtests/qtest/json_parse/bad-41.out | 1 | ||||
-rw-r--r-- | libtests/qtest/json_parse/bad-42.json | 1 | ||||
-rw-r--r-- | libtests/qtest/json_parse/bad-42.out | 1 |
5 files changed, 6 insertions, 1 deletions
diff --git a/libtests/qtest/json_parse/bad-31.out b/libtests/qtest/json_parse/bad-31.out index 344f42e8..2228d08d 100644 --- a/libtests/qtest/json_parse/bad-31.out +++ b/libtests/qtest/json_parse/bad-31.out @@ -1 +1 @@ -exception: bad-31.json: JSON: offset 2: number with no digits +exception: bad-31.json: JSON: offset 1: numeric literal: no digit after minus sign diff --git a/libtests/qtest/json_parse/bad-41.json b/libtests/qtest/json_parse/bad-41.json new file mode 100644 index 00000000..dad59049 --- /dev/null +++ b/libtests/qtest/json_parse/bad-41.json @@ -0,0 +1,2 @@ +-.123 + diff --git a/libtests/qtest/json_parse/bad-41.out b/libtests/qtest/json_parse/bad-41.out new file mode 100644 index 00000000..bebcfdb9 --- /dev/null +++ b/libtests/qtest/json_parse/bad-41.out @@ -0,0 +1 @@ +exception: bad-41.json: JSON: offset 1: numeric literal: no digit after minus sign diff --git a/libtests/qtest/json_parse/bad-42.json b/libtests/qtest/json_parse/bad-42.json new file mode 100644 index 00000000..2f9148b0 --- /dev/null +++ b/libtests/qtest/json_parse/bad-42.json @@ -0,0 +1 @@ +-e123 diff --git a/libtests/qtest/json_parse/bad-42.out b/libtests/qtest/json_parse/bad-42.out new file mode 100644 index 00000000..96e9a0a3 --- /dev/null +++ b/libtests/qtest/json_parse/bad-42.out @@ -0,0 +1 @@ +exception: bad-42.json: JSON: offset 1: numeric literal: no digit after minus sign |