aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2025-08-28 10:35:13 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2025-08-28 10:35:13 -0400
commit3539b7f5308b617e99b0a4ea298a413acbda4d79 (patch)
tree42101adf54ce7fc060da9e312dc508aaf1302bf2 /src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml
parentdub 1.40.0, llvm 20 (diff)
src/ext_deplends d-yaml updated (v0.10.0)HEADmain
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml
new file mode 100644
index 0000000..40a5fc5
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-10.yaml
@@ -0,0 +1,68 @@
+%YAML 1.1
+---
+- name: spec-10-10
+ yaml: |
+ {
+ ? explicit key1 : explicit value,
+ ? explicit key2 : , # Explicit empty
+ ? explicit key3, # Empty value
+ simple key1 : explicit value,
+ simple key2 : , # Explicit empty
+ simple key3, # Empty value
+ }
+ tree: |
+ +STR
+ +DOC
+ +MAP {}
+ =VAL :explicit key1
+ =VAL :explicit value
+ =VAL :explicit key2
+ =VAL :
+ =VAL :explicit key3
+ =VAL :
+ =VAL :simple key1
+ =VAL :explicit value
+ =VAL :simple key2
+ =VAL :
+ =VAL :simple key3
+ =VAL :
+ -MAP
+ -DOC
+ -STR
+- name: spec-10-10-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!map {
+ ? !!str "explicit key1"
+ : !!str "explicit value",
+ ? !!str "explicit key2"
+ : !!null "",
+ ? !!str "explicit key3"
+ : !!null "",
+ ? !!str "simple key1"
+ : !!str "explicit value",
+ ? !!str "simple key2"
+ : !!null "",
+ ? !!str "simple key3"
+ : !!null "",
+ }
+ tree: |
+ +STR
+ +DOC ---
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "explicit key1
+ =VAL <tag:yaml.org,2002:str> "explicit value
+ =VAL <tag:yaml.org,2002:str> "explicit key2
+ =VAL <tag:yaml.org,2002:null> "
+ =VAL <tag:yaml.org,2002:str> "explicit key3
+ =VAL <tag:yaml.org,2002:null> "
+ =VAL <tag:yaml.org,2002:str> "simple key1
+ =VAL <tag:yaml.org,2002:str> "explicit value
+ =VAL <tag:yaml.org,2002:str> "simple key2
+ =VAL <tag:yaml.org,2002:null> "
+ =VAL <tag:yaml.org,2002:str> "simple key3
+ =VAL <tag:yaml.org,2002:null> "
+ -MAP
+ -DOC
+ -STR