toml-rs/test-suite/tests
rhysd 935d95ce4f Fix multi-line strings are not allowed for key
In spec https://github.com/toml-lang/toml#keys

Quoted keys are clarified as

> he exact same rules as either basic strings or literal strings

TOML clearly distinguishes basic string and multi-line basic string
(literal string is also).

https://github.com/toml-lang/toml#string

So table key and quoted key should not allow multi-line basic string
and multi-line literal string.

ABNF definition also describes that.

https://github.com/toml-lang/toml/blob/master/toml.abnf

```
string = ml-basic-string / basic-string / ml-literal-string / literal-string

quoted-key = basic-string / literal-string
```

`string` contains `ml-*` but `quoted-key` doesn't.
2018-09-25 16:33:52 +09:00
..
invalid Move tests into their own crate 2017-11-12 19:33:11 -08:00
invalid-encoder Move tests into their own crate 2017-11-12 19:33:11 -08:00
valid Don't allow intermixing inline tables and dotted key tables. 2018-07-27 11:49:30 -07:00
backcompat.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
datetime.rs 0.5: Support space separate in datetime. 2018-07-10 17:14:16 -07:00
display-tricky.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
display.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
float.rs 0.5: Support floats nan, inf, and +/-0.0. 2018-07-11 00:50:04 -07:00
formatting.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
invalid-misc.rs 0.5: Support dotted keys. 2018-07-16 09:10:38 -07:00
invalid.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
macros.rs Support the new 0.5 syntax in the toml! macro. 2018-08-05 14:26:46 -07:00
parser.rs Fix multi-line strings are not allowed for key 2018-09-25 16:33:52 +09:00
pretty.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
README.md Move tests into their own crate 2017-11-12 19:33:11 -08:00
serde.rs Test serde_json interoperability 2018-08-06 15:23:32 +01:00
spanned.rs Make spanned module private and hide internals 2018-05-09 21:54:22 +02:00
tables-last.rs Move tests into their own crate 2017-11-12 19:33:11 -08:00
valid.rs 0.5: Support dotted keys. 2018-07-16 09:10:38 -07:00