diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-09-01.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/spec 1.1/spec-09-01.yaml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-09-01.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-09-01.yaml new file mode 100644 index 0000000..51c8fbb --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-09-01.yaml @@ -0,0 +1,51 @@ +%YAML 1.1 +--- +- name: spec-09-01 + yaml: | + "simple key" : { + "also simple" : value, + ? "not a + simple key" : "any + value" + } + tree: | + +STR + +DOC + +MAP + =VAL "simple key + +MAP {} + =VAL "also simple + =VAL :value + =VAL "not a simple key + =VAL "any value + -MAP + -MAP + -DOC + -STR +- name: spec-09-01-canonical + yaml: | + %YAML 1.1 + --- + !!map { + ? !!str "simple key" + : !!map { + ? !!str "also simple" + : !!str "value", + ? !!str "not a simple key" + : !!str "any value" + } + } + tree: | + +STR + +DOC --- + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "simple key + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "also simple + =VAL <tag:yaml.org,2002:str> "value + =VAL <tag:yaml.org,2002:str> "not a simple key + =VAL <tag:yaml.org,2002:str> "any value + -MAP + -MAP + -DOC + -STR |