From 940fcf9e183ab4f29204ef4f3ea92c01de8cc08a Mon Sep 17 00:00:00 2001 From: pyfisch Date: Thu, 28 May 2020 17:39:55 +0200 Subject: 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 --- test-suite/tests/valid.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test-suite/tests/valid.rs') 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") +); -- cgit v1.2.3