aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-10-02.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-10-02.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-10-02.yaml62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-10-02.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-02.yaml
new file mode 100644
index 0000000..ce0fc7d
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-10-02.yaml
@@ -0,0 +1,62 @@
+%YAML 1.1
+---
+- name: spec-10-02
+ yaml: |
+ [
+ "double
+ quoted", 'single
+ quoted',
+ plain
+ text, [ nested ],
+ single: pair ,
+ ]
+ tree: |
+ +STR
+ +DOC
+ +SEQ []
+ =VAL "double quoted
+ =VAL 'single quoted
+ =VAL :plain text
+ +SEQ []
+ =VAL :nested
+ -SEQ
+ +MAP {}
+ =VAL :single
+ =VAL :pair
+ -MAP
+ -SEQ
+ -DOC
+ -STR
+- name: spec-10-02-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!seq [
+ !!str "double quoted",
+ !!str "single quoted",
+ !!str "plain text",
+ !!seq [
+ !!str "nested",
+ ],
+ !!map {
+ ? !!str "single"
+ : !!str "pair"
+ }
+ ]
+ tree: |
+ +STR
+ +DOC ---
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:str> "double quoted
+ =VAL <tag:yaml.org,2002:str> "single quoted
+ =VAL <tag:yaml.org,2002:str> "plain text
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:str> "nested
+ -SEQ
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "single
+ =VAL <tag:yaml.org,2002:str> "pair
+ -MAP
+ -SEQ
+ -DOC
+ -STR