diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/src/json-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/json-tests.el b/test/src/json-tests.el index 542eec11bf3..7d824b5c953 100644 --- a/test/src/json-tests.el +++ b/test/src/json-tests.el | |||
| @@ -159,7 +159,7 @@ | |||
| 159 | (skip-unless (fboundp 'json-parse-string)) | 159 | (skip-unless (fboundp 'json-parse-string)) |
| 160 | (should-error (json-parse-string "\x00") :type 'wrong-type-argument) | 160 | (should-error (json-parse-string "\x00") :type 'wrong-type-argument) |
| 161 | ;; FIXME: Reconsider whether this is the right behavior. | 161 | ;; FIXME: Reconsider whether this is the right behavior. |
| 162 | (should-error (json-parse-string "[a\\u0000b]") :type 'json-parse-error)) | 162 | (should-error (json-parse-string "[\"a\\u0000b\"]") :type 'json-parse-error)) |
| 163 | 163 | ||
| 164 | (ert-deftest json-parse-string/invalid-unicode () | 164 | (ert-deftest json-parse-string/invalid-unicode () |
| 165 | "Some examples from | 165 | "Some examples from |