aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/invalid
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-01-07 09:06:04 -0800
committerAlex Crichton <alex@alexcrichton.com>2019-01-07 09:06:04 -0800
commit7ee1c1b4798f18135ee618e30ccedfdf1f365451 (patch)
treee68d6abaaa3a5e142980b728672915ae8df7a600 /test-suite/tests/invalid
parentad5ea1d904d5196fa63b77e826f82c377b604602 (diff)
downloadmilf-rs-7ee1c1b4798f18135ee618e30ccedfdf1f365451.tar.gz
milf-rs-7ee1c1b4798f18135ee618e30ccedfdf1f365451.zip
Fix disallowing duplicate table headers
This commit fixes #279 where a case of duplicate table headers slipped through the cracks. This also adds an option to disable this new validation to allow Cargo to preserve backwards compatibility.
Diffstat (limited to 'test-suite/tests/invalid')
-rw-r--r--test-suite/tests/invalid/duplicate-table.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/tests/invalid/duplicate-table.toml b/test-suite/tests/invalid/duplicate-table.toml
new file mode 100644
index 0000000..5bd2571
--- /dev/null
+++ b/test-suite/tests/invalid/duplicate-table.toml
@@ -0,0 +1,8 @@
+[dependencies.openssl-sys]
+version = "0.5.2"
+
+[dependencies]
+libc = "0.1"
+
+[dependencies]
+bitflags = "0.1.1"