aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml')
-rw-r--r--src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml b/src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml
new file mode 100644
index 0000000..4cf8e36
--- /dev/null
+++ b/src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml
@@ -0,0 +1,30 @@
+%YAML 1.1
+---
+- name: no-flow-mapping-end
+ fail: true
+ mark: { line: 1, column: 12 }
+ mark2: { line: 1, column: 1 }
+ error: "While parsing a flow mapping, expected ',' or '}', but got: flowSequenceEnd"
+ yaml: |
+ { foo: bar ]
+- name: no-flow-mapping-end-2
+ fail: true
+ mark: { line: 1, column: 2 }
+ mark2: { line: 1, column: 2 }
+ error: "While parsing a flow node, expected node content, but found: streamEnd"
+ yaml: |-
+ {
+- name: no-flow-mapping-end-3
+ fail: true
+ mark: { line: 1, column: 7 }
+ mark2: { line: 1, column: 1 }
+ error: "While parsing a flow mapping, expected ',' or '}', but got: streamEnd"
+ yaml: |-
+ { blah
+- name: no-flow-mapping-end-4
+ fail: true
+ mark: { line: 1, column: 7 }
+ mark2: { line: 1, column: 1 }
+ error: "While parsing a flow mapping, expected ',' or '}', but got: streamEnd"
+ yaml: |-
+ {a,b,c