aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/yaml.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/yaml.scm b/tests/yaml.scm
index d3d01c2..f1cc7ea 100644
--- a/tests/yaml.scm
+++ b/tests/yaml.scm
@@ -46,4 +46,9 @@ bar: {}
"
(scm->yaml-string #("foo")))
+(test-equal "dictionary keys that map to an atomic value must be serialized on the same line"
+ "foo: bar
+"
+ (scm->yaml-string '((foo . bar))))
+
(test-end "yaml")