aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-15.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-15.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-08-15.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-15.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-15.yaml
new file mode 100644
index 0000000..66dddde
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-15.yaml
@@ -0,0 +1,50 @@
+%YAML 1.1
+---
+- name: spec-08-15
+ yaml: |
+ - # Empty plain scalar
+ - ? foo
+ :
+ ?
+ : bar
+ tree: |
+ +STR
+ +DOC
+ +SEQ
+ =VAL :
+ +MAP
+ =VAL :foo
+ =VAL :
+ =VAL :
+ =VAL :bar
+ -MAP
+ -SEQ
+ -DOC
+ -STR
+- name: spec-08-15-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!seq [
+ !!null "",
+ !!map {
+ ? !!str "foo"
+ : !!null "",
+ ? !!null ""
+ : !!str "bar",
+ }
+ ]
+ tree: |
+ +STR
+ +DOC ---
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:null> "
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "foo
+ =VAL <tag:yaml.org,2002:null> "
+ =VAL <tag:yaml.org,2002:null> "
+ =VAL <tag:yaml.org,2002:str> "bar
+ -MAP
+ -SEQ
+ -DOC
+ -STR