diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/unclosed-bracket.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/unclosed-bracket.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/unclosed-bracket.yaml b/src/ext_depends/D-YAML/test/unclosed-bracket.yaml new file mode 100644 index 0000000..aae8c4f --- /dev/null +++ b/src/ext_depends/D-YAML/test/unclosed-bracket.yaml @@ -0,0 +1,14 @@ +%YAML 1.1 +--- +- name: unclosed-bracket + fail: true + mark: { line: 7, column: 1 } + mark2: { line: 2, column: 7 } + error: "While parsing a flow sequence, expected ',' or ']', but got: streamEnd" + yaml: | + test: + - [ foo: bar + # comment the rest of the stream to let the scanner detect the problem. + # - baz + #"we could have detected the unclosed bracket on the above line, but this would forbid such syntax as": { + #} |