aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-05-07.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-05-07.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-05-07.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-05-07.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-05-07.yaml
new file mode 100644
index 0000000..1338d16
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-05-07.yaml
@@ -0,0 +1,40 @@
+%YAML 1.1
+---
+- name: spec-05-07
+ yaml: |
+ literal: |
+ text
+ folded: >
+ text
+ tree: |
+ +STR
+ +DOC
+ +MAP
+ =VAL :literal
+ =VAL |text\n
+ =VAL :folded
+ =VAL >text\n
+ -MAP
+ -DOC
+ -STR
+- name: spec-05-07-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!map {
+ ? !!str "literal"
+ : !!str "text\n",
+ ? !!str "folded"
+ : !!str "text\n",
+ }
+ tree: |
+ +STR
+ +DOC ---
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "literal
+ =VAL <tag:yaml.org,2002:str> "text\n
+ =VAL <tag:yaml.org,2002:str> "folded
+ =VAL <tag:yaml.org,2002:str> "text\n
+ -MAP
+ -DOC
+ -STR