diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2025-08-28 10:35:13 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2025-08-28 10:35:13 -0400 |
commit | 3539b7f5308b617e99b0a4ea298a413acbda4d79 (patch) | |
tree | 42101adf54ce7fc060da9e312dc508aaf1302bf2 /src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml | |
parent | dub 1.40.0, llvm 20 (diff) |
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml new file mode 100644 index 0000000..31bdc3b --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-08.yaml @@ -0,0 +1,67 @@ +%YAML 1.1 +--- +- name: spec-08-08 + yaml: | + --- + foo: + "bar + baz" + --- + "foo + bar" + --- + foo + bar + --- | + foo + ... + tree: | + +STR + +DOC --- + +MAP + =VAL :foo + =VAL "bar baz + -MAP + -DOC + +DOC --- + =VAL "foo bar + -DOC + +DOC --- + =VAL :foo bar + -DOC + +DOC --- + =VAL |foo\n + -DOC ... + -STR +- name: spec-08-08-canonical + yaml: | + %YAML 1.1 + --- + !!map { + ? !!str "foo" + : !!str "bar baz" + } + --- + !!str "foo bar" + --- + !!str "foo bar" + --- + !!str "foo\n" + tree: | + +STR + +DOC --- + +MAP {} <tag:yaml.org,2002:map> + =VAL <tag:yaml.org,2002:str> "foo + =VAL <tag:yaml.org,2002:str> "bar baz + -MAP + -DOC + +DOC --- + =VAL <tag:yaml.org,2002:str> "foo bar + -DOC + +DOC --- + =VAL <tag:yaml.org,2002:str> "foo bar + -DOC + +DOC --- + =VAL <tag:yaml.org,2002:str> "foo\n + -DOC + -STR |