branch: externals/compat
commit f875849c9ea2f7a2d131beee21ce3ad629316c0c
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Add missing test
---
 compat-tests.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compat-tests.el b/compat-tests.el
index 94c1962720..fe7f1e0c69 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -172,6 +172,8 @@
     (should (member (json-serialize input-2)
                     '("{\"key\":[\"abc\",2],\"yek\":true}"
                       "{\"yek\":true,\"key\":[\"abc\",2]}")))
+    (should (equal (json-serialize input-3)
+                   "{\"key\":[\"abc\",2],\"yek\":true}"))
     (should-error (json-serialize '(("a" . 1)))
                   :type '(wrong-type-argument symbolp "a"))
     (should-error (json-serialize '("a" 1))

Reply via email to