summaryrefslogtreecommitdiffstats
path: root/test/yaml/invalids
diff options
context:
space:
mode:
Diffstat (limited to 'test/yaml/invalids')
-rw-r--r--test/yaml/invalids/1.yaml4
-rw-r--r--test/yaml/invalids/2.yaml4
-rw-r--r--test/yaml/invalids/3.yaml4
3 files changed, 12 insertions, 0 deletions
diff --git a/test/yaml/invalids/1.yaml b/test/yaml/invalids/1.yaml
new file mode 100644
index 0000000..3280620
--- /dev/null
+++ b/test/yaml/invalids/1.yaml
@@ -0,0 +1,4 @@
+---
+ a: # the first non-comment line should not be indented.
+b:
+
diff --git a/test/yaml/invalids/2.yaml b/test/yaml/invalids/2.yaml
new file mode 100644
index 0000000..fbe4023
--- /dev/null
+++ b/test/yaml/invalids/2.yaml
@@ -0,0 +1,4 @@
+---
+key:
+a # key is expected here but not found.
+
diff --git a/test/yaml/invalids/3.yaml b/test/yaml/invalids/3.yaml
new file mode 100644
index 0000000..cf14ffe
--- /dev/null
+++ b/test/yaml/invalids/3.yaml
@@ -0,0 +1,4 @@
+---
+- a
+c # sequence element is expected, but not found.
+- b