aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-10-15.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-10-15.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-10-15.yaml69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-10-15.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-15.yaml
new file mode 100644
index 0000000..ae09905
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-15.yaml
@@ -0,0 +1,69 @@
+%YAML 1.1
+---
+- name: spec-10-15
+ yaml: |
+ - sun: yellow
+ - ? earth: blue
+ : moon: white
+ tree: |
+ +STR
+ +DOC
+ +SEQ
+ +MAP
+ =VAL :sun
+ =VAL :yellow
+ -MAP
+ +MAP
+ +MAP
+ =VAL :earth
+ =VAL :blue
+ -MAP
+ +MAP
+ =VAL :moon
+ =VAL :white
+ -MAP
+ -MAP
+ -SEQ
+ -DOC
+ -STR
+- name: spec-10-15-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!seq [
+ !!map {
+ ? !!str "sun"
+ : !!str "yellow"
+ },
+ !!map {
+ ? !!map {
+ ? !!str "earth"
+ : !!str "blue"
+ }
+ : !!map {
+ ? !!str "moon"
+ : !!str "white"
+ }
+ }
+ ]
+ tree: |
+ +STR
+ +DOC ---
+ +SEQ [] <tag:yaml.org,2002:seq>
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "sun
+ =VAL <tag:yaml.org,2002:str> "yellow
+ -MAP
+ +MAP {} <tag:yaml.org,2002:map>
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "earth
+ =VAL <tag:yaml.org,2002:str> "blue
+ -MAP
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "moon
+ =VAL <tag:yaml.org,2002:str> "white
+ -MAP
+ -MAP
+ -SEQ
+ -DOC
+ -STR