aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-09-12.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/spec 1.1/spec-09-12.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/spec 1.1/spec-09-12.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/spec 1.1/spec-09-12.yaml b/src/ext_depends/D-YAML/test/spec 1.1/spec-09-12.yaml
new file mode 100644
index 0000000..1fd24da
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/spec 1.1/spec-09-12.yaml
@@ -0,0 +1,56 @@
+%YAML 1.1
+---
+- name: spec-09-12
+ yaml: |
+ # Outside flow collection:
+ - ::std::vector
+ - Up, up, and away!
+ - -123
+ # Inside flow collection:
+ - [ '::std::vector',
+ "Up, up, and away!",
+ -123 ]
+ tree: |
+ +STR
+ +DOC
+ +SEQ
+ =VAL :::std::vector
+ =VAL :Up, up, and away!
+ =VAL :-123
+ +SEQ []
+ =VAL '::std::vector
+ =VAL "Up, up, and away!
+ =VAL :-123
+ -SEQ
+ -SEQ
+ -DOC
+ -STR
+- name: spec-09-12-canonical
+ yaml: |
+ %YAML 1.1
+ ---
+ !!seq [
+ !!str "::std::vector",
+ !!str "Up, up, and away!",
+ !!int "-123",
+ !!seq [
+ !!str "::std::vector",
+ !!str "Up, up, and away!",
+ !!int "-123",
+ ]
+ ]
+ tree: |
+ +STR
+ +DOC ---
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:str> "::std::vector
+ =VAL <tag:yaml.org,2002:str> "Up, up, and away!
+ =VAL <tag:yaml.org,2002:int> "-123
+ +SEQ [] <tag:yaml.org,2002:seq>
+ =VAL <tag:yaml.org,2002:str> "::std::vector
+ =VAL <tag:yaml.org,2002:str> "Up, up, and away!
+ =VAL <tag:yaml.org,2002:int> "-123
+ -SEQ
+ -SEQ
+ -DOC
+ -STR