emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat f875849c9e 07/14: Add missing test


From: ELPA Syncer
Subject: [elpa] externals/compat f875849c9e 07/14: Add missing test
Date: Tue, 3 Jan 2023 20:57:29 -0500 (EST)

branch: externals/compat
commit f875849c9ea2f7a2d131beee21ce3ad629316c0c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@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

[Prev in Thread] Current Thread [Next in Thread]