source: pyyaml/branches/working-on-emitter/tests/data/sloppy-indentation.canonical @ 121

Revision 121, 517 bytes checked in by xi, 8 years ago (diff)

Add a branch for working on Emitter.

RevLine 
[117]1%YAML 1.1
2---
3!!map {
4    ? !!str "in the block context"
5    : !!map {
6        ? !!str "indentation should be kept"
7        : !!map {
8            ? !!str "but in the flow context"
9            : !!seq [ !!str "it may be violated" ]
10        }
11    }
12}
13--- !!str
14"the parser does not require scalars to be indented with at least one space"
15--- !!str
16"the parser does not require scalars to be indented with at least one space"
17--- !!map
18{ ? !!str "foo": { ? !!str "bar" : "quoted scalars may not adhere indentation" } }
Note: See TracBrowser for help on using the repository browser.