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