* test/src/json-tests.el (json-serialize/object): Fix spacing.

This commit is contained in:
Andreas Schwab 2019-06-29 07:41:18 +02:00
parent bc87ee925d
commit c113d6f3c1

View file

@ -76,8 +76,8 @@
(should (equal (json-serialize '(abc [1 2 t] :def :null))
"{\"abc\":[1,2,true],\"def\":null}"))
(should-error (json-serialize '#1=(:a 1 . #1#)) :type 'circular-list)
(should-error (json-serialize '#1=(:a 1 :b . #1#)):type '(circular-list
wrong-type-argument))
(should-error (json-serialize '#1=(:a 1 :b . #1#))
:type '(circular-list wrong-type-argument))
(should-error (json-serialize '(:foo "bar" (unexpected-alist-key . 1)))
:type 'wrong-type-argument)
(should-error (json-serialize '((abc . "abc") :unexpected-plist-key "key"))