diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml new file mode 100644 index 0000000..fb784d8 --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-12.yaml @@ -0,0 +1,50 @@ +%YAML 1.1 +--- +- name: spec-08-12 + yaml: | + [ + Without properties, + &anchor "Anchored", + !!str 'Tagged', + *anchor, # Alias node + !!str , # Empty plain scalar + '', # Empty plain scalar + ] + tree: | + +STR + +DOC + +SEQ [] + =VAL :Without properties + =VAL &anchor "Anchored + =VAL <tag:yaml.org,2002:str> 'Tagged + =ALI *anchor + =VAL <tag:yaml.org,2002:str> : + =VAL ' + -SEQ + -DOC + -STR +- name: spec-08-12-canonical + yaml: | + %YAML 1.1 + --- + !!seq [ + !!str "Without properties", + &A !!str "Anchored", + !!str "Tagged", + *A, + !!str "", + !!str "", + ] + tree: | + +STR + +DOC --- + +SEQ [] <tag:yaml.org,2002:seq> + =VAL <tag:yaml.org,2002:str> "Without properties + =VAL &A <tag:yaml.org,2002:str> "Anchored + =VAL <tag:yaml.org,2002:str> "Tagged + =ALI *A + =VAL <tag:yaml.org,2002:str> " + =VAL <tag:yaml.org,2002:str> " + -SEQ + -DOC + -STR |