summaryrefslogtreecommitdiff
path: root/test/YAMLParser/sloppy-indentation.data
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-04-03 23:09:22 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-04-03 23:09:22 +0000
commit93210e847a1496b24cef881723e57c489082dcfe (patch)
tree83d1f8828d8b6835a6511d28cf3c63fad8b06aef /test/YAMLParser/sloppy-indentation.data
parent2ce63c73520cd6e715f9114589f802938b5db01f (diff)
downloadllvm-93210e847a1496b24cef881723e57c489082dcfe.tar.gz
llvm-93210e847a1496b24cef881723e57c489082dcfe.tar.bz2
llvm-93210e847a1496b24cef881723e57c489082dcfe.tar.xz
Add YAML parser to Support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153977 91177308-0d34-0410-b5e6-96231b3b80d8
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 0000000000..2b2b62b14a
--- /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'