aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2018-07-27 11:49:30 -0700
committerEric Huss <eric@huss.org>2018-07-27 11:49:30 -0700
commitd6f383d20c2dbefd9ece0834b05310dfae4e2a88 (patch)
tree98529f0dbc9c75e795e720dd37945b1e189bf450 /test-suite/tests
parent2b6e286fb6244690a6572ebde4e139cbf7a52053 (diff)
downloadmilf-rs-d6f383d20c2dbefd9ece0834b05310dfae4e2a88.tar.gz
milf-rs-d6f383d20c2dbefd9ece0834b05310dfae4e2a88.zip
Don't allow intermixing inline tables and dotted key tables.
Diffstat (limited to 'test-suite/tests')
-rw-r--r--test-suite/tests/valid/dotted-keys.json10
-rw-r--r--test-suite/tests/valid/dotted-keys.toml4
2 files changed, 1 insertions, 13 deletions
diff --git a/test-suite/tests/valid/dotted-keys.json b/test-suite/tests/valid/dotted-keys.json
index e32079a..cf9dd04 100644
--- a/test-suite/tests/valid/dotted-keys.json
+++ b/test-suite/tests/valid/dotted-keys.json
@@ -19,16 +19,6 @@
}
},
"in": {
- "bar": {
- "type": "integer",
- "value": "2"
- },
- "foo": {
- "type": "integer",
- "value": "1"
- }
- },
- "in2": {
"type": {
"color": {
"type": "string",
diff --git a/test-suite/tests/valid/dotted-keys.toml b/test-suite/tests/valid/dotted-keys.toml
index 27dbd32..234d64c 100644
--- a/test-suite/tests/valid/dotted-keys.toml
+++ b/test-suite/tests/valid/dotted-keys.toml
@@ -3,7 +3,5 @@ a.b = 123
[table]
a.b.c = 1
a . b . d = 2
-in = {foo = 1}
-in.bar = 2
-in2 = { type.name = "cat", type.color = "blue" }
+in = { type.name = "cat", type.color = "blue" }