diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/no-node.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/no-node.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/no-node.yaml b/src/ext_depends/D-YAML/test/no-node.yaml new file mode 100644 index 0000000..6a06462 --- /dev/null +++ b/src/ext_depends/D-YAML/test/no-node.yaml @@ -0,0 +1,16 @@ +%YAML 1.1 +--- +- name: no-node-1 + fail: true + mark: { line: 1, column: 8 } + mark2: { line: 1, column: 1 } + error: "While parsing a block sequence, expected block end, but found: flowSequenceEnd" + yaml: | + - !foo ] +- name: no-node-2 + fail: true + mark: { line: 1, column: 10 } + mark2: { line: 1, column: 3 } + error: "While parsing a flow sequence, expected ',' or ']', but got: flowMappingEnd" + yaml: | + - [ !foo } ] |