aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-11.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-11.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-08-11.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-11.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-11.yaml
new file mode 100644
index 0000000..6d18988
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-11.yaml
@@ -0,0 +1,38 @@
+%YAML 1.1
+---
+- name: spec-08-11
+ yaml: |
+ First occurrence: &anchor Value
+ Second occurrence: *anchor
+ tree: |
+ +STR
+ +DOC
+ +MAP
+ =VAL :First occurrence
+ =VAL &anchor :Value
+ =VAL :Second occurrence
+ =ALI *anchor
+ -MAP
+ -DOC
+ -STR
+- name: spec-08-11-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!map {
+ ? !!str "First occurrence"
+ : &A !!str "Value",
+ ? !!str "Second occurrence"
+ : *A
+ }
+ tree: |
+ +STR
+ +DOC ---
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "First occurrence
+ =VAL &A <tag:yaml.org,2002:str> "Value
+ =VAL <tag:yaml.org,2002:str> "Second occurrence
+ =ALI *A
+ -MAP
+ -DOC
+ -STR