diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-10-03.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/spec 1.1/spec-10-03.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-10-03.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-03.yaml new file mode 100644 index 0000000..f11782c --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-03.yaml @@ -0,0 +1,52 @@ +%YAML 1.1 +--- +- name: spec-10-03 + yaml: | + block: # Block + # sequence + - one + - two : three + tree: | + +STR + +DOC + +MAP + =VAL :block + +SEQ + =VAL :one + +MAP + =VAL :two + =VAL :three + -MAP + -SEQ + -MAP + -DOC + -STR +- name: spec-10-03-canonical + yaml: | + %YAML 1.1 + --- + !!map { + ? !!str "block" + : !!seq [ + !!str "one", + !!map { + ? !!str "two" + : !!str "three" + } + ] + } + tree: | + +STR + +DOC --- + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "block + +SEQ [] <tag:yaml.org,2002:seq> + =VAL <tag:yaml.org,2002:str> "one + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "two + =VAL <tag:yaml.org,2002:str> "three + -MAP + -SEQ + -MAP + -DOC + -STR |