aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-07-02.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-07-02.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-07-02.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-07-02.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-07-02.yaml
new file mode 100644
index 0000000..7d21c26
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-07-02.yaml
@@ -0,0 +1,25 @@
+%YAML 1.1
+---
+- name: spec-07-02
+ yaml: |
+ %YAML 1.2 # Attempt parsing
+ # with a warning
+ ---
+ "foo"
+ tree: |
+ +STR
+ +DOC ---
+ =VAL "foo
+ -DOC
+ -STR
+- name: spec-07-02-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!str "foo"
+ tree: |
+ +STR
+ +DOC ---
+ =VAL <tag:yaml.org,2002:str> "foo
+ -DOC
+ -STR