diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/spec 1.1/spec-06-01.yaml | 61 |
1 files changed, 61 insertions, 0 deletions
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 {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "Not indented + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "By one space + =VAL <tag:yaml.org,2002:str> "By four\n spaces\n + =VAL <tag:yaml.org,2002:str> "Flow style + +SEQ [] <tag:yaml.org,2002:seq> + =VAL <tag:yaml.org,2002:str> "By two + =VAL <tag:yaml.org,2002:str> "Also by two + =VAL <tag:yaml.org,2002:str> "Still by two + -SEQ + -MAP + -MAP + -DOC + -STR |