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