aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/no-document-start.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/no-document-start.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/no-document-start.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/no-document-start.yaml b/src/ext_depends/D-YAML/test/no-document-start.yaml
new file mode 100644
index 0000000..e2f7e20
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/no-document-start.yaml
@@ -0,0 +1,10 @@
+%YAML 1.1
+---
+- name: no-document-start
+ fail: true
+ mark: { line: 3, column: 1 }
+ error: "Expected document start but found blockMappingStart"
+ yaml: |
+ %YAML 1.1
+ # no ---
+ foo: bar