aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/no-flow-mapping-end.yaml
blob: 4cf8e368c5f51a5efa94f0efd28a2fd85b822fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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