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) --- .../D-YAML/test/spec 1.1/spec-06-01.yaml | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml') diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml new file mode 100644 index 0000000..635877b --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml @@ -0,0 +1,61 @@ +%YAML 1.1 +--- +- name: spec-06-01 + yaml: " # Leading comment line spaces are\n # neither content nor indentation.\n\ + \ \nNot indented:\n By one space: |\n By four\n spaces\n Flow style:\ + \ [ # Leading spaces\n By two, # in flow style\n Also by two, #\ + \ are neither\n# Tabs are not allowed:\n# \tStill by two # content nor\n Still\ + \ by two # content nor\n ] # indentation.\n" + tree: | + +STR + +DOC + +MAP + =VAL :Not indented + +MAP + =VAL :By one space + =VAL |By four\n spaces\n + =VAL :Flow style + +SEQ [] + =VAL :By two + =VAL :Also by two + =VAL :Still by two + -SEQ + -MAP + -MAP + -DOC + -STR +- name: spec-06-01-canonical + yaml: | + %YAML 1.1 + --- + !!map { + ? !!str "Not indented" + : !!map { + ? !!str "By one space" + : !!str "By four\n spaces\n", + ? !!str "Flow style" + : !!seq [ + !!str "By two", + !!str "Also by two", + !!str "Still by two", + ] + } + } + tree: | + +STR + +DOC --- + +MAP {} + =VAL "Not indented + +MAP {} + =VAL "By one space + =VAL "By four\n spaces\n + =VAL "Flow style + +SEQ [] + =VAL "By two + =VAL "Also by two + =VAL "Still by two + -SEQ + -MAP + -MAP + -DOC + -STR -- cgit v1.2.3