source: branches/pyyaml3000/tests/data/spec-08-09.canonical @ 38

Revision 38, 483 bytes checked in by xi, 8 years ago (diff)

Add a branch for the new parser. Add tests from the spec.

RevLine 
[38]1%YAML 1.1
2--- !!map {
3  ? !!str "scalars" : !!map {
4      ? !!str "plain"
5      : !!str "some text",
6      ? !!str "quoted"
7      : !!map {
8        ? !!str "single"
9        : !!str "some text",
10        ? !!str "double"
11        : !!str "some text"
12  } },
13  ? !!str "collections": : !!map {
14    ? !!str "sequence" : !!seq [
15      ? !!str "entry",
16      : !!map {
17        ? !!str "key" : !!str "value"
18    } ],
19    ? !!str "mapping": : !!map {
20      ? !!str "key" : !!str "value"
21} } }
Note: See TracBrowser for help on using the repository browser.