summaryrefslogtreecommitdiffstats
path: root/tests/data/invalid/dotted-keys
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/invalid/dotted-keys')
-rw-r--r--tests/data/invalid/dotted-keys/access-non-table.toml2
-rw-r--r--tests/data/invalid/dotted-keys/extend-defined-aot.toml3
-rw-r--r--tests/data/invalid/dotted-keys/extend-defined-table-with-subtable.toml4
-rw-r--r--tests/data/invalid/dotted-keys/extend-defined-table.toml4
4 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/invalid/dotted-keys/access-non-table.toml b/tests/data/invalid/dotted-keys/access-non-table.toml
new file mode 100644
index 0000000..ada0200
--- /dev/null
+++ b/tests/data/invalid/dotted-keys/access-non-table.toml
@@ -0,0 +1,2 @@
+a = false
+a.b = true \ No newline at end of file
diff --git a/tests/data/invalid/dotted-keys/extend-defined-aot.toml b/tests/data/invalid/dotted-keys/extend-defined-aot.toml
new file mode 100644
index 0000000..1c3c34b
--- /dev/null
+++ b/tests/data/invalid/dotted-keys/extend-defined-aot.toml
@@ -0,0 +1,3 @@
+[[tab.arr]]
+[tab]
+arr.val1=1
diff --git a/tests/data/invalid/dotted-keys/extend-defined-table-with-subtable.toml b/tests/data/invalid/dotted-keys/extend-defined-table-with-subtable.toml
new file mode 100644
index 0000000..70e2ac5
--- /dev/null
+++ b/tests/data/invalid/dotted-keys/extend-defined-table-with-subtable.toml
@@ -0,0 +1,4 @@
+[a.b.c.d]
+ z = 9
+[a]
+ b.c.d.k.t = 8
diff --git a/tests/data/invalid/dotted-keys/extend-defined-table.toml b/tests/data/invalid/dotted-keys/extend-defined-table.toml
new file mode 100644
index 0000000..c88c179
--- /dev/null
+++ b/tests/data/invalid/dotted-keys/extend-defined-table.toml
@@ -0,0 +1,4 @@
+[a.b.c]
+ z = 9
+[a]
+ b.c.t = 9