aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/json-tests.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/json-tests.el b/test/src/json-tests.el
index 13953beb151..71aa4a8b783 100644
--- a/test/src/json-tests.el
+++ b/test/src/json-tests.el
@@ -87,8 +87,7 @@
87 ;; FIXME: "out of memory" is the wrong error signal, but we don't 87 ;; FIXME: "out of memory" is the wrong error signal, but we don't
88 ;; currently distinguish between error types when serializing. 88 ;; currently distinguish between error types when serializing.
89 (should-error (json-serialize ["a\uDBBBb"]) :type 'json-out-of-memory) 89 (should-error (json-serialize ["a\uDBBBb"]) :type 'json-out-of-memory)
90 (should-error (json-serialize (vector (string ?a #x110000 ?b))) 90 (should-error (json-serialize ["u\x110000v"]) :type 'json-out-of-memory)
91 :type 'json-out-of-memory)
92 (should-error (json-serialize ["u\xCCv"]) :type 'json-out-of-memory)) 91 (should-error (json-serialize ["u\xCCv"]) :type 'json-out-of-memory))
93 92
94(ert-deftest json-parse-string/null () 93(ert-deftest json-parse-string/null ()