aboutsummaryrefslogtreecommitdiff
path: root/tests/valid
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-07-27 11:29:00 -0500
committerGitHub <noreply@github.com>2017-07-27 11:29:00 -0500
commit6b3efa1e0849fbf393e2b41473e807bb644843ea (patch)
tree7bb58a9c5a5965403f3741f8fdee4cfc0ebd956b /tests/valid
parent71ac3e25f63edac92b4f6cc4ea709491390796ff (diff)
parent219de2dd4d60420f810cb60496d41f164e5c06b0 (diff)
downloadmilf-rs-6b3efa1e0849fbf393e2b41473e807bb644843ea.tar.gz
milf-rs-6b3efa1e0849fbf393e2b41473e807bb644843ea.zip
Merge pull request #199 from vitiral/empty-fails
demonstrate failing test for 'empty' values
Diffstat (limited to 'tests/valid')
-rw-r--r--tests/valid/table-multi-empty.json5
-rw-r--r--tests/valid/table-multi-empty.toml5
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/valid/table-multi-empty.json b/tests/valid/table-multi-empty.json
new file mode 100644
index 0000000..a6e17c9
--- /dev/null
+++ b/tests/valid/table-multi-empty.json
@@ -0,0 +1,5 @@
+{
+ "a": { "b": {} },
+ "b": {},
+ "c": { "a": {} }
+}
diff --git a/tests/valid/table-multi-empty.toml b/tests/valid/table-multi-empty.toml
new file mode 100644
index 0000000..2266ed2
--- /dev/null
+++ b/tests/valid/table-multi-empty.toml
@@ -0,0 +1,5 @@
+[a]
+[a.b]
+[b]
+[c]
+[c.a]