aboutsummaryrefslogtreecommitdiffstats
path: root/test/YAMLParser/sloppy-indentation.data
diff options
context:
space:
mode:
Diffstat (limited to 'test/YAMLParser/sloppy-indentation.data')
-rw-r--r--test/YAMLParser/sloppy-indentation.data19
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'