summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2021-07-19 15:50:10 +0530
committerArun Isaac2021-07-19 15:50:10 +0530
commit993441fc39580d4c47235a37a9c47a67cc0bbfc9 (patch)
tree0903660289c61252db70034b5f274959e85a7000
parentf378db9c34bd08bec90b2225186f7f1c57144d68 (diff)
downloadccwl-993441fc39580d4c47235a37a9c47a67cc0bbfc9.tar.gz
ccwl-993441fc39580d4c47235a37a9c47a67cc0bbfc9.tar.lz
ccwl-993441fc39580d4c47235a37a9c47a67cc0bbfc9.zip
tests: Fix order of arguments to test-equal.
The expected value should be the first argument to test-equal. Getting
this order wrong messes up the test logs.

* tests/yaml.scm ("dictionary entries with empty arrays and
dictionaries for values must render on the same line"): Fix order of
arguments to test-equal.
-rw-r--r--tests/yaml.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/yaml.scm b/tests/yaml.scm
index 70c6cea..545b49c 100644
--- a/tests/yaml.scm
+++ b/tests/yaml.scm
@@ -22,12 +22,12 @@
 (test-begin "yaml")
 
 (test-equal "dictionary entries with empty arrays and dictionaries for values must render on the same line"
-  (scm->yaml-string
-   '((foo . #())
-     (bar)))
   "foo: []
 bar: {}
-")
+"
+  (scm->yaml-string
+   '((foo . #())
+     (bar))))
 
 (test-equal "strings with hyphen characters should be escaped"
   "- \"-1\"