summaryrefslogtreecommitdiffstats
path: root/tests/data/invalid/array-of-tables
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/invalid/array-of-tables')
-rw-r--r--tests/data/invalid/array-of-tables/overwrite-array-in-parent.toml4
-rw-r--r--tests/data/invalid/array-of-tables/overwrite-bool-with-aot.toml2
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/data/invalid/array-of-tables/overwrite-array-in-parent.toml b/tests/data/invalid/array-of-tables/overwrite-array-in-parent.toml
new file mode 100644
index 0000000..f867c28
--- /dev/null
+++ b/tests/data/invalid/array-of-tables/overwrite-array-in-parent.toml
@@ -0,0 +1,4 @@
+[[parent-table.arr]]
+[parent-table]
+not-arr = 1
+arr = 2
diff --git a/tests/data/invalid/array-of-tables/overwrite-bool-with-aot.toml b/tests/data/invalid/array-of-tables/overwrite-bool-with-aot.toml
new file mode 100644
index 0000000..b1892d6
--- /dev/null
+++ b/tests/data/invalid/array-of-tables/overwrite-bool-with-aot.toml
@@ -0,0 +1,2 @@
+a=true
+[[a]] \ No newline at end of file