aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/valid
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-10-29 09:47:56 -0700
committerGitHub <noreply@github.com>2018-10-29 09:47:56 -0700
commit2a6d85b0dde5772241a2cf7e0ac8427949bc4112 (patch)
tree651c289273b112378ea0d63b84ee0324a9b200b9 /test-suite/tests/valid
parent2fbcf8623acda16ae633dbec41cad28f3bbf9ab4 (diff)
parent94c95bd15e63520fc2844ffb1bc387d1bc9c79ae (diff)
downloadmilf-rs-2a6d85b0dde5772241a2cf7e0ac8427949bc4112.tar.gz
milf-rs-2a6d85b0dde5772241a2cf7e0ac8427949bc4112.zip
Merge pull request #268 from jmhain/allow-ws-after-bs
Allow whitespace after line ending backslash (#162)
Diffstat (limited to 'test-suite/tests/valid')
-rw-r--r--test-suite/tests/valid/multiline-string.json8
-rw-r--r--test-suite/tests/valid/multiline-string.toml11
2 files changed, 19 insertions, 0 deletions
diff --git a/test-suite/tests/valid/multiline-string.json b/test-suite/tests/valid/multiline-string.json
index 075bf50..3223bae 100644
--- a/test-suite/tests/valid/multiline-string.json
+++ b/test-suite/tests/valid/multiline-string.json
@@ -15,6 +15,10 @@
"type": "string",
"value": ""
},
+ "multiline_empty_five": {
+ "type": "string",
+ "value": ""
+ },
"equivalent_one": {
"type": "string",
"value": "The quick brown fox jumps over the lazy dog."
@@ -26,5 +30,9 @@
"equivalent_three": {
"type": "string",
"value": "The quick brown fox jumps over the lazy dog."
+ },
+ "equivalent_four": {
+ "type": "string",
+ "value": "The quick brown fox jumps over the lazy dog."
}
}
diff --git a/test-suite/tests/valid/multiline-string.toml b/test-suite/tests/valid/multiline-string.toml
index 15b1143..2c4237f 100644
--- a/test-suite/tests/valid/multiline-string.toml
+++ b/test-suite/tests/valid/multiline-string.toml
@@ -7,6 +7,11 @@ multiline_empty_four = """\
\
\
"""
+multiline_empty_five = """\
+ \
+ \
+ \
+ """
equivalent_one = "The quick brown fox jumps over the lazy dog."
equivalent_two = """
@@ -21,3 +26,9 @@ equivalent_three = """\
fox jumps over \
the lazy dog.\
"""
+
+equivalent_four = """\
+ The quick brown \
+ fox jumps over \
+ the lazy dog.\
+ """