summaryrefslogtreecommitdiff
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 073f1e5..70c6cea 100644
--- a/tests/yaml.scm
+++ b/tests/yaml.scm
@@ -34,4 +34,9 @@ bar: {}
"
(scm->yaml-string #("-1")))
+(test-equal "strings with asterisk characters should be escaped"
+ "- \"*foo\"
+"
+ (scm->yaml-string #("*foo")))
+
(test-end "yaml")