From 3539b7f5308b617e99b0a4ea298a413acbda4d79 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 28 Aug 2025 10:35:13 -0400 Subject: src/ext_deplends d-yaml updated (v0.10.0) --- ...mit-block-scalar-in-simple-key-context-bug.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/ext_depends/D-YAML/test/emit-block-scalar-in-simple-key-context-bug.yaml (limited to 'src/ext_depends/D-YAML/test/emit-block-scalar-in-simple-key-context-bug.yaml') diff --git a/src/ext_depends/D-YAML/test/emit-block-scalar-in-simple-key-context-bug.yaml b/src/ext_depends/D-YAML/test/emit-block-scalar-in-simple-key-context-bug.yaml new file mode 100644 index 0000000..53d8e58 --- /dev/null +++ b/src/ext_depends/D-YAML/test/emit-block-scalar-in-simple-key-context-bug.yaml @@ -0,0 +1,34 @@ +%YAML 1.1 +--- +- name: emit-block-scalar-in-simple-key-context-bug + yaml: | + ? |- + foo + : |- + bar + tree: | + +STR + +DOC + +MAP + =VAL |foo + =VAL |bar + -MAP + -DOC + -STR +- name: emit-block-scalar-in-simple-key-context-bug-canonical + yaml: | + %YAML 1.1 + --- !!map + { + ? !!str "foo" + : !!str "bar" + } + tree: | + +STR + +DOC --- + +MAP {} + =VAL "foo + =VAL "bar + -MAP + -DOC + -STR -- cgit v1.2.3