diff options
Diffstat (limited to 'test/YAMLParser/sloppy-indentation.data')
-rw-r--r-- | test/YAMLParser/sloppy-indentation.data | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/YAMLParser/sloppy-indentation.data b/test/YAMLParser/sloppy-indentation.data new file mode 100644 index 0000000..2b2b62b --- /dev/null +++ b/test/YAMLParser/sloppy-indentation.data @@ -0,0 +1,19 @@ +# RUN: yaml-bench -canonical %s + +--- +in the block context: + indentation should be kept: { + but in the flow context: [ +it may be violated] +} +--- +the parser does not require scalars +to be indented with at least one space +... +--- +"the parser does not require scalars +to be indented with at least one space" +--- +foo: + bar: 'quoted scalars +may not adhere indentation' |