Add a branch for the new parser. Add tests from the spec.
[pyyaml/python3.git] / tests / data / spec-08-10.canonical
bloba6702c3b64dfc140828b9d3413beba8bf2f15d76
1 %YAML 1.1
2 ---
3 !!map {
4   ? !!str "block styles" : !!map {
5     ? !!str "scalars" : !!map {
6       ? !!str "literal"
7       : !!str "#!!/usr/bin/perl\n\
8           print \"Hello,
9           world!!\\n\";\n",
10       ? !!str "folded"
11       : !!str "This sentence
12           is false.\n"
13     },
14     ? !!str "collections" : !!map {
15       ? !!str "sequence" : !!seq [
16         !!str "entry",
17         !!map {
18           ? !!str "key" : !!str "value"
19         }
20       ],
21       ? !!str "mapping" : !!map {
22         ? !!str "key" : !!str "value"
23 } } } }