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/key-after-array.toml | 1 + tests/invalid/key-after-table.toml | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/invalid/key-after-array.toml create mode 100644 tests/invalid/key-after-table.toml (limited to 'tests/invalid') diff --git a/tests/invalid/key-after-array.toml b/tests/invalid/key-after-array.toml new file mode 100644 index 0000000..5c1a1b0 --- /dev/null +++ b/tests/invalid/key-after-array.toml @@ -0,0 +1 @@ +[[agencies]] owner = "S Cjelli" diff --git a/tests/invalid/key-after-table.toml b/tests/invalid/key-after-table.toml new file mode 100644 index 0000000..4bc8213 --- /dev/null +++ b/tests/invalid/key-after-table.toml @@ -0,0 +1 @@ +[history] guard = "sleeping" -- cgit v1.2.3