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