summaryrefslogtreecommitdiffstats
path: root/tests/data/invalid/toml-lang-compliance/invalid/key-value/multiple-dot-key.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/invalid/toml-lang-compliance/invalid/key-value/multiple-dot-key.toml')
-rw-r--r--tests/data/invalid/toml-lang-compliance/invalid/key-value/multiple-dot-key.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/invalid/toml-lang-compliance/invalid/key-value/multiple-dot-key.toml b/tests/data/invalid/toml-lang-compliance/invalid/key-value/multiple-dot-key.toml
new file mode 100644
index 0000000..a6c5ea6
--- /dev/null
+++ b/tests/data/invalid/toml-lang-compliance/invalid/key-value/multiple-dot-key.toml
@@ -0,0 +1,8 @@
+# THE FOLLOWING IS INVALID
+
+# This defines the value of fruit.apple to be an integer.
+fruit.apple = 1
+
+# But then this treats fruit.apple like it's a table.
+# You can't turn an integer into a table.
+fruit.apple.smooth = true