aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-07-13.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-07-13.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-07-13.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-07-13.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-07-13.yaml
new file mode 100644
index 0000000..4a84726
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-07-13.yaml
@@ -0,0 +1,54 @@
+%YAML 1.1
+---
+- name: spec-07-13
+ yaml: |
+ ! "First document"
+ ---
+ !foo "No directives"
+ %TAG ! !foo
+ ---
+ !bar "With directives"
+ %YAML 1.1
+ ---
+ !baz "Reset settings"
+ tree: |
+ +STR
+ +DOC
+ =VAL <!> "First document
+ -DOC
+ +DOC ---
+ =VAL <!foo> "No directives
+ -DOC
+ +DOC ---
+ =VAL <!foobar> "With directives
+ -DOC
+ +DOC ---
+ =VAL <!baz> "Reset settings
+ -DOC
+ -STR
+- name: spec-07-13-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!str "First document"
+ ---
+ !<!foo> "No directives"
+ ---
+ !<!foobar> "With directives"
+ ---
+ !<!baz> "Reset settings"
+ tree: |
+ +STR
+ +DOC ---
+ =VAL <tag:yaml.org,2002:str> "First document
+ -DOC
+ +DOC ---
+ =VAL <!foo> "No directives
+ -DOC
+ +DOC ---
+ =VAL <!foobar> "With directives
+ -DOC
+ +DOC ---
+ =VAL <!baz> "Reset settings
+ -DOC
+ -STR