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-10-11.yaml | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 src/ext_depends/D-YAML/test/spec 1.1/spec-10-11.yaml (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-10-11.yaml') diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-10-11.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-11.yaml new file mode 100644 index 0000000..f1d698b --- /dev/null +++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-11.yaml @@ -0,0 +1,91 @@ +%YAML 1.1 +--- +- name: spec-10-11 + yaml: | + [ + ? explicit key1 : explicit value, + ? explicit key2 : , # Explicit empty + ? explicit key3, # Implicit empty + simple key1 : explicit value, + simple key2 : , # Explicit empty + ] + tree: | + +STR + +DOC + +SEQ [] + +MAP {} + =VAL :explicit key1 + =VAL :explicit value + -MAP + +MAP {} + =VAL :explicit key2 + =VAL : + -MAP + +MAP {} + =VAL :explicit key3 + =VAL : + -MAP + +MAP {} + =VAL :simple key1 + =VAL :explicit value + -MAP + +MAP {} + =VAL :simple key2 + =VAL : + -MAP + -SEQ + -DOC + -STR +- name: spec-10-11-canonical + yaml: | + %YAML 1.1 + --- + !!seq [ + !!map { + ? !!str "explicit key1" + : !!str "explicit value", + }, + !!map { + ? !!str "explicit key2" + : !!null "", + }, + !!map { + ? !!str "explicit key3" + : !!null "", + }, + !!map { + ? !!str "simple key1" + : !!str "explicit value", + }, + !!map { + ? !!str "simple key2" + : !!null "", + }, + ] + tree: | + +STR + +DOC --- + +SEQ [] + +MAP {} + =VAL "explicit key1 + =VAL "explicit value + -MAP + +MAP {} + =VAL "explicit key2 + =VAL " + -MAP + +MAP {} + =VAL "explicit key3 + =VAL " + -MAP + +MAP {} + =VAL "simple key1 + =VAL "explicit value + -MAP + +MAP {} + =VAL "simple key2 + =VAL " + -MAP + -SEQ + -DOC + -STR -- cgit v1.2.3