From 993441fc39580d4c47235a37a9c47a67cc0bbfc9 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 19 Jul 2021 15:50:10 +0530 Subject: 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. --- tests/yaml.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/yaml.scm') 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\" -- cgit v1.2.3