Skip to content

Commit 68980c1

Browse files
ahwattsgongo
authored andcommitted
Update the tests to not reverse the ordering of the keys in an object.
1 parent ea380ea commit 68980c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/json-reformat-test.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@
7979
(ert-deftest json-reformat-test:json-reformat-region ()
8080
(should (string= "\
8181
{
82+
\"name\": \"John Smith\",
83+
\"age\": 33,
8284
\"breakfast\": \[
8385
\"milk\",
8486
\"bread\",
8587
\"egg\"
86-
\],
87-
\"age\": 33,
88-
\"name\": \"John Smith\"
88+
\]
8989
}" (with-temp-buffer
9090
(insert "{\"name\": \"John Smith\", \"age\": 33, \"breakfast\":\[\"milk\", \"bread\", \"egg\"\]}")
9191
(json-reformat-region (point-min) (point-max))

0 commit comments

Comments
 (0)