diff options
Diffstat (limited to 'src/ext_depends/D-YAML/test/document-separator-in-quoted-scalar.yaml')
-rw-r--r-- | src/ext_depends/D-YAML/test/document-separator-in-quoted-scalar.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ext_depends/D-YAML/test/document-separator-in-quoted-scalar.yaml b/src/ext_depends/D-YAML/test/document-separator-in-quoted-scalar.yaml new file mode 100644 index 0000000..e268916 --- /dev/null +++ b/src/ext_depends/D-YAML/test/document-separator-in-quoted-scalar.yaml @@ -0,0 +1,19 @@ +%YAML 1.1 +--- +- name: document-separator-in-quoted-scalar + fail: true + mark: { line: 10, column: 1 } + mark2: { line: 8, column: 1 } + error: "While scanning a quoted scalar, found unexpected document separator" + yaml: | + --- + "this --- is correct" + --- + "this + ...is also + correct" + --- + "a quoted scalar + cannot contain + --- + document separators" |