summaryrefslogtreecommitdiffstats
path: root/tests/data/extras/valid/array
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/extras/valid/array')
-rw-r--r--tests/data/extras/valid/array/array-subtables.toml7
-rw-r--r--tests/data/extras/valid/array/open-parent-table.toml3
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/extras/valid/array/array-subtables.toml b/tests/data/extras/valid/array/array-subtables.toml
new file mode 100644
index 0000000..7075307
--- /dev/null
+++ b/tests/data/extras/valid/array/array-subtables.toml
@@ -0,0 +1,7 @@
+[[arr]]
+[arr.subtab]
+val=1
+
+[[arr]]
+[arr.subtab]
+val=2
diff --git a/tests/data/extras/valid/array/open-parent-table.toml b/tests/data/extras/valid/array/open-parent-table.toml
new file mode 100644
index 0000000..1ae8587
--- /dev/null
+++ b/tests/data/extras/valid/array/open-parent-table.toml
@@ -0,0 +1,3 @@
+[[parent-table.arr]]
+[parent-table]
+not-arr = 1