blob: 2a75242cef3d32ebf04fec3f5088fdb2ebb5c651 (
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
|
%YAML 1.1
---
- name: expected-mapping
fail: true
mark: { line: 1, column: 5 }
mark2: { line: 1, column: 24 }
error: |
Unable to load test/expected.yaml#expected-mapping:yaml: Error constructing Node[]: Only mappings can be maps
yaml: |
--- !!map [not, a, map]
- name: expected-scalar
fail: true
mark: { line: 1, column: 5 }
mark2: { line: 1, column: 25 }
error: |
Unable to load test/expected.yaml#expected-scalar:yaml: Error constructing Node[]: Only scalars can be strings
yaml: |
--- !!str [not a scalar]
- name: expected-sequence
fail: true
mark: { line: 1, column: 5 }
mark2: { line: 1, column: 26 }
error: |
Unable to load test/expected.yaml#expected-sequence:yaml: Error constructing Pair[]: Only sequences can be sequences
yaml: |
--- !!seq {foo, bar, baz}
|