From 3539b7f5308b617e99b0a4ea298a413acbda4d79 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 28 Aug 2025 10:35:13 -0400 Subject: src/ext_deplends d-yaml updated (v0.10.0) --- .../D-YAML/test/spec 1.1/spec-08-09.yaml | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 src/ext_depends/D-YAML/test/spec 1.1/spec-08-09.yaml (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-09.yaml') diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-09.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-09.yaml new file mode 100644 index 0000000..4faa40b --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-09.yaml @@ -0,0 +1,108 @@ +%YAML 1.1 +--- +- name: spec-08-09 + yaml: | + --- + scalars: + plain: !!str some text + quoted: + single: 'some text' + double: "some text" + collections: + sequence: !!seq [ !!str entry, + # Mapping entry: + key: value ] + mapping: { key: value } + tree: | + +STR + +DOC --- + +MAP + =VAL :scalars + +MAP + =VAL :plain + =VAL :some text + =VAL :quoted + +MAP + =VAL :single + =VAL 'some text + =VAL :double + =VAL "some text + -MAP + -MAP + =VAL :collections + +MAP + =VAL :sequence + +SEQ [] + =VAL :entry + +MAP {} + =VAL :key + =VAL :value + -MAP + -SEQ + =VAL :mapping + +MAP {} + =VAL :key + =VAL :value + -MAP + -MAP + -MAP + -DOC + -STR +- name: spec-08-09-canonical + yaml: | + %YAML 1.1 + --- !!map { + ? !!str "scalars" : !!map { + ? !!str "plain" + : !!str "some text", + ? !!str "quoted" + : !!map { + ? !!str "single" + : !!str "some text", + ? !!str "double" + : !!str "some text" + } }, + ? !!str "collections" : !!map { + ? !!str "sequence" : !!seq [ + !!str "entry", + !!map { + ? !!str "key" : !!str "value" + } ], + ? !!str "mapping" : !!map { + ? !!str "key" : !!str "value" + } } } + tree: | + +STR + +DOC --- + +MAP {} + =VAL "scalars + +MAP {} + =VAL "plain + =VAL "some text + =VAL "quoted + +MAP {} + =VAL "single + =VAL "some text + =VAL "double + =VAL "some text + -MAP + -MAP + =VAL "collections + +MAP {} + =VAL "sequence + +SEQ [] + =VAL "entry + +MAP {} + =VAL "key + =VAL "value + -MAP + -SEQ + =VAL "mapping + +MAP {} + =VAL "key + =VAL "value + -MAP + -MAP + -MAP + -DOC + -STR -- cgit v1.2.3