diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/remove-possible-simple-key-bug.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/remove-possible-simple-key-bug.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/remove-possible-simple-key-bug.yaml b/src/ext_depends/D-YAML/test/remove-possible-simple-key-bug.yaml new file mode 100644 index 0000000..ca4943f --- /dev/null +++ b/src/ext_depends/D-YAML/test/remove-possible-simple-key-bug.yaml @@ -0,0 +1,11 @@ +%YAML 1.1 +--- +- name: remove-possible-simple-key-bug + fail: true + mark: { line: 2, column: 4 } + mark2: { line: 2, column: 1 } + error: "While scanning a simple key, could not find expected ':'" + yaml: | + foo: &A bar + *A ] # The ']' indicator triggers remove_possible_simple_key, + # which should raise an error. |