diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-07-12.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/spec 1.1/spec-07-12.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-07-12.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-07-12.yaml new file mode 100644 index 0000000..9c372da --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-07-12.yaml @@ -0,0 +1,56 @@ +%YAML 1.1 +--- +- name: spec-07-12a + yaml: | + # Implicit document. Root + # collection (mapping) node. + foo : bar + tree: | + +STR + +DOC + +MAP + =VAL :foo + =VAL :bar + -MAP + -DOC + -STR +- name: spec-07-12a-canonical + yaml: | + %YAML 1.1 + --- + !!map { + ? !!str "foo" + : !!str "bar" + } + tree: | + +STR + +DOC --- + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "foo + =VAL <tag:yaml.org,2002:str> "bar + -MAP + -DOC + -STR +- name: spec-07-12b + yaml: | + # Explicit document. Root + # scalar (literal) node. + --- | + Text content + tree: | + +STR + +DOC --- + =VAL |Text content\n + -DOC + -STR +- name: spec-07-12b-canonical + yaml: | + %YAML 1.1 + --- + !!str "Text content\n" + tree: | + +STR + +DOC --- + =VAL <tag:yaml.org,2002:str> "Text content\n + -DOC + -STR |