We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf57f3 commit 0ffab01Copy full SHA for 0ffab01
test/parseedn-test.el
@@ -37,7 +37,19 @@
37
(should (equal (parseedn-print-str 100) "100"))
38
(should (equal (parseedn-print-str 1.2) "1.2"))
39
(should (equal (parseedn-print-str [1 2 3]) "[1 2 3]"))
40
- (should (equal (parseedn-print-str t) "true")))
+ (should (equal (parseedn-print-str t) "true"))
41
+ (should (listp (member (parseedn-print-str
42
+ (let ((ht (make-hash-table)))
43
+ (puthash :a 1 ht)
44
+ (puthash :b 2 ht)
45
+ (puthash :c 3 ht)
46
+ ht))
47
+ '("{:a 1, :b 2, :c 3}"
48
+ "{:a 1, :c 3, :b 2}"
49
+ "{:b 2, :a 1, :c 3}"
50
+ "{:b 2, :c 3, :a 1}"
51
+ "{:c 3, :a 1, :b 2}"
52
+ "{:c 3, :b 2, :a 1}")))))
53
54
(ert-deftest parseedn-read-test ()
55
(should (equal (parseedn-read-str "true") t)))
0 commit comments