aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/valid.rs
diff options
context:
space:
mode:
authorpyfisch <pyfisch@posteo.org>2020-05-28 17:39:55 +0200
committerGitHub <noreply@github.com>2020-05-28 10:39:55 -0500
commit940fcf9e183ab4f29204ef4f3ea92c01de8cc08a (patch)
tree7de5106a89888fe0c3dbe7220012e4d56de3bbee /test-suite/tests/valid.rs
parent7a43ac9e9c28afec8414f6d924024f5d33fe8fa2 (diff)
downloadmilf-rs-940fcf9e183ab4f29204ef4f3ea92c01de8cc08a.tar.gz
milf-rs-940fcf9e183ab4f29204ef4f3ea92c01de8cc08a.zip
Allow delimiter quotes at the end of multiline strings (#393)
TOML allows (unlike many other formats) up to 2 additonal quotes that are part of the string: basic = """2 extra quotes -->""""" literal = '''here too '''' Changed in TOML v1.0.0-rc.1 See also #392
Diffstat (limited to 'test-suite/tests/valid.rs')
-rw-r--r--test-suite/tests/valid.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/tests/valid.rs b/test-suite/tests/valid.rs
index 0bb7caa..0745cc8 100644
--- a/test-suite/tests/valid.rs
+++ b/test-suite/tests/valid.rs
@@ -389,3 +389,9 @@ test!(
include_str!("valid/float-exponent.toml"),
include_str!("valid/float-exponent.json")
);
+
+test!(
+ string_delim_end,
+ include_str!("valid/string-delim-end.toml"),
+ include_str!("valid/string-delim-end.json")
+);