From 7a779d6a7b65d54155bc9741c22d1db4a785ffb2 Mon Sep 17 00:00:00 2001 From: rictic Date: Mon, 20 Oct 2025 17:00:50 -0700 Subject: [PATCH] Trailing illegal whitespace should be rejected Adds a negative example of the number 1 followed by a nonbreaking space. Upstreaming from this bug report in my parser: https://github.com/rictic/jsonriver/issues/36 --- test_parsing/n_structure_trailing_invalid_whitespace.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 test_parsing/n_structure_trailing_invalid_whitespace.json diff --git a/test_parsing/n_structure_trailing_invalid_whitespace.json b/test_parsing/n_structure_trailing_invalid_whitespace.json new file mode 100644 index 0000000..dcf4a61 --- /dev/null +++ b/test_parsing/n_structure_trailing_invalid_whitespace.json @@ -0,0 +1 @@ +1  \ No newline at end of file