summaryrefslogtreecommitdiff
path: root/tests/yaml.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/yaml.scm')
-rw-r--r--tests/yaml.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/yaml.scm b/tests/yaml.scm
index 11e5c23..073f1e5 100644
--- a/tests/yaml.scm
+++ b/tests/yaml.scm
@@ -29,4 +29,9 @@
bar: {}
")
+(test-equal "strings with hyphen characters should be escaped"
+ "- \"-1\"
+"
+ (scm->yaml-string #("-1")))
+
(test-end "yaml")