aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/json-tests.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/src/json-tests.el b/test/src/json-tests.el
index 911bc49730d..bffee8f39d3 100644
--- a/test/src/json-tests.el
+++ b/test/src/json-tests.el
@@ -272,10 +272,11 @@ Test with both unibyte and multibyte strings."
272 (cl-incf calls) 272 (cl-incf calls)
273 (throw 'test-tag 'throw-value)) 273 (throw 'test-tag 'throw-value))
274 :local) 274 :local)
275 (should-error 275 (should
276 (catch 'test-tag 276 (equal
277 (json-insert '((a . "b") (c . 123) (d . [1 2 t :false])))) 277 (catch 'test-tag
278 :type 'no-catch) 278 (json-insert '((a . "b") (c . 123) (d . [1 2 t :false]))))
279 'throw-value))
279 (should (equal calls 1))))) 280 (should (equal calls 1)))))
280 281
281(ert-deftest json-serialize/bignum () 282(ert-deftest json-serialize/bignum ()