aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-08-10.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-08-10.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-08-10.yaml98
1 files changed, 98 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-08-10.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-10.yaml
new file mode 100644
index 0000000..e68632a
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-08-10.yaml
@@ -0,0 +1,98 @@
+%YAML 1.1
+---
+- name: spec-08-10
+ yaml: "block styles:\n scalars:\n literal: !!str |\n #!/usr/bin/perl\n\
+ \ print \"Hello, world!\\n\";\n folded: >\n This sentence\n is\
+ \ false.\n collections: !!map\n sequence: !!seq # Entry:\n - entry # Plain\n\
+ \ # Mapping entry:\n - key: value\n mapping: \n key: value\n"
+ tree: |
+ +STR
+ +DOC
+ +MAP
+ =VAL :block styles
+ +MAP
+ =VAL :scalars
+ +MAP
+ =VAL :literal
+ =VAL <tag:yaml.org,2002:str> |#!/usr/bin/perl\nprint "Hello, world!\\n";\n
+ =VAL :folded
+ =VAL >This sentence is false.\n
+ -MAP
+ =VAL :collections
+ +MAP <tag:yaml.org,2002:map>
+ =VAL :sequence
+ +SEQ <tag:yaml.org,2002:seq>
+ =VAL :entry
+ +MAP
+ =VAL :key
+ =VAL :value
+ -MAP
+ -SEQ
+ =VAL :mapping
+ +MAP
+ =VAL :key
+ =VAL :value
+ -MAP
+ -MAP
+ -MAP
+ -MAP
+ -DOC
+ -STR
+- name: spec-08-10-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!map {
+ ? !!str "block styles" : !!map {
+ ? !!str "scalars" : !!map {
+ ? !!str "literal"
+ : !!str "#!/usr/bin/perl\n\
+ print \"Hello,
+ world!\\n\";\n",
+ ? !!str "folded"
+ : !!str "This sentence
+ is false.\n"
+ },
+ ? !!str "collections" : !!map {
+ ? !!str "sequence" : !!seq [
+ !!str "entry",
+ !!map {
+ ? !!str "key" : !!str "value"
+ }
+ ],
+ ? !!str "mapping" : !!map {
+ ? !!str "key" : !!str "value"
+ } } } }
+ tree: |
+ +STR
+ +DOC ---
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "block styles
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "scalars
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "literal
+ =VAL <tag:yaml.org,2002:str> "#!/usr/bin/perl\nprint "Hello, world!\\n";\n
+ =VAL <tag:yaml.org,2002:str> "folded
+ =VAL <tag:yaml.org,2002:str> "This sentence is false.\n
+ -MAP
+ =VAL <tag:yaml.org,2002:str> "collections
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "sequence
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:str> "entry
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "key
+ =VAL <tag:yaml.org,2002:str> "value
+ -MAP
+ -SEQ
+ =VAL <tag:yaml.org,2002:str> "mapping
+ +MAP {} <tag:yaml.org,2002:map>
+ =VAL <tag:yaml.org,2002:str> "key
+ =VAL <tag:yaml.org,2002:str> "value
+ -MAP
+ -MAP
+ -MAP
+ -MAP
+ -DOC
+ -STR