]> git.eshelyaron.com Git - emacs.git/commitdiff
* test/src/json-tests.el (json-serialize/object): Fix spacing.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 29 Jun 2019 05:41:18 +0000 (07:41 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 29 Jun 2019 05:41:52 +0000 (07:41 +0200)
test/src/json-tests.el

index 383991b07363a8b30b2b0f70523adc22dfadc344..8cf0145601158cc8c1de4db382f3ce9f4f1b82ff 100644 (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"))