From 2cd1116e062f9af389f97044360a9cfbdb127c82 Mon Sep 17 00:00:00 2001 From: James Sanderson Date: Sun, 17 Apr 2016 22:49:16 +0100 Subject: Add failing test cases containing invalid Toml with keys on the same line as table definition --- tests/invalid.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/invalid.rs') diff --git a/tests/invalid.rs b/tests/invalid.rs index 829e795..63e4de8 100644 --- a/tests/invalid.rs +++ b/tests/invalid.rs @@ -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, -- cgit v1.2.3