Add failing test cases containing invalid Toml with keys on the same line as table definition
This commit is contained in:
parent
ef60313a5d
commit
2cd1116e06
|
@ -50,6 +50,10 @@ test!(float_no_leading_zero,
|
|||
include_str!("invalid/float-no-leading-zero.toml"));
|
||||
test!(float_no_trailing_digits,
|
||||
include_str!("invalid/float-no-trailing-digits.toml"));
|
||||
test!(key_after_array,
|
||||
include_str!("invalid/key-after-array.toml"));
|
||||
test!(key_after_table,
|
||||
include_str!("invalid/key-after-table.toml"));
|
||||
test!(key_empty,
|
||||
include_str!("invalid/key-empty.toml"));
|
||||
test!(key_hash,
|
||||
|
|
1
tests/invalid/key-after-array.toml
Normal file
1
tests/invalid/key-after-array.toml
Normal file
|
@ -0,0 +1 @@
|
|||
[[agencies]] owner = "S Cjelli"
|
1
tests/invalid/key-after-table.toml
Normal file
1
tests/invalid/key-after-table.toml
Normal file
|
@ -0,0 +1 @@
|
|||
[history] guard = "sleeping"
|
Loading…
Reference in a new issue