diff options
| author | Andreas Schwab | 2019-06-29 07:41:18 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2019-06-29 07:41:52 +0200 |
| commit | c113d6f3c1e12fed3aa627e74a2a43be0350c31c (patch) | |
| tree | 0fe886136fe642ba18c5e94fa9609161baef9e26 /test/src | |
| parent | bc87ee925dfb465c32db85262fd264d25cdbecac (diff) | |
| download | emacs-c113d6f3c1e12fed3aa627e74a2a43be0350c31c.tar.gz emacs-c113d6f3c1e12fed3aa627e74a2a43be0350c31c.zip | |
* test/src/json-tests.el (json-serialize/object): Fix spacing.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/json-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/json-tests.el b/test/src/json-tests.el index 383991b0736..8cf01456011 100644 --- a/test/src/json-tests.el +++ b/test/src/json-tests.el | |||
| @@ -76,8 +76,8 @@ | |||
| 76 | (should (equal (json-serialize '(abc [1 2 t] :def :null)) | 76 | (should (equal (json-serialize '(abc [1 2 t] :def :null)) |
| 77 | "{\"abc\":[1,2,true],\"def\":null}")) | 77 | "{\"abc\":[1,2,true],\"def\":null}")) |
| 78 | (should-error (json-serialize '#1=(:a 1 . #1#)) :type 'circular-list) | 78 | (should-error (json-serialize '#1=(:a 1 . #1#)) :type 'circular-list) |
| 79 | (should-error (json-serialize '#1=(:a 1 :b . #1#)):type '(circular-list | 79 | (should-error (json-serialize '#1=(:a 1 :b . #1#)) |
| 80 | wrong-type-argument)) | 80 | :type '(circular-list wrong-type-argument)) |
| 81 | (should-error (json-serialize '(:foo "bar" (unexpected-alist-key . 1))) | 81 | (should-error (json-serialize '(:foo "bar" (unexpected-alist-key . 1))) |
| 82 | :type 'wrong-type-argument) | 82 | :type 'wrong-type-argument) |
| 83 | (should-error (json-serialize '((abc . "abc") :unexpected-plist-key "key")) | 83 | (should-error (json-serialize '((abc . "abc") :unexpected-plist-key "key")) |