aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-10-09.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-10-09.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-10-09.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-10-09.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-09.yaml
new file mode 100644
index 0000000..1543056
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-09.yaml
@@ -0,0 +1,40 @@
+%YAML 1.1
+---
+- name: spec-10-09
+ yaml: |
+ {
+ key : value,
+ empty: # empty value↓
+ }
+ tree: |
+ +STR
+ +DOC
+ +MAP {}
+ =VAL :key
+ =VAL :value
+ =VAL :empty
+ =VAL :
+ -MAP
+ -DOC
+ -STR
+- name: spec-10-09-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!map {
+ ? !!str "key"
+ : !!str "value",
+ ? !!str "empty"
+ : !!null "",
+ }
+ tree: |
+ +STR
+ +DOC ---
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "key
+ =VAL <tag:yaml.org,2002:str> "value
+ =VAL <tag:yaml.org,2002:str> "empty
+ =VAL <tag:yaml.org,2002:null> "
+ -MAP
+ -DOC
+ -STR