aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/no-flow-sequence-end.yaml
blob: 980e15e3f2a4be4bc9e21048de98f18564b658e8 (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-sequence-end
  fail: true
  mark: { line: 1, column: 10 }
  mark2: { line: 1, column: 1 }
  error: "While parsing a flow sequence, expected ',' or ']', but got: flowMappingEnd"
  yaml: |
    [foo, bar}
- name: no-flow-sequence-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-sequence-end-3
  fail: true
  mark: { line: 1, column: 7 }
  mark2: { line: 1, column: 1 }
  error: "While parsing a flow sequence, expected ',' or ']', but got: streamEnd"
  yaml: |-
    [ blah
- name: no-flow-sequence-end-4
  fail: true
  mark: { line: 1, column: 7 }
  mark2: { line: 1, column: 1 }
  error: "While parsing a flow sequence, expected ',' or ']', but got: streamEnd"
  yaml: |-
    [a,b,c