diff options
author | Garrett Berg <vitiral@gmail.com> | 2017-07-26 22:08:22 -0600 |
---|---|---|
committer | Garrett Berg <vitiral@gmail.com> | 2017-07-27 07:03:52 -0600 |
commit | 219de2dd4d60420f810cb60496d41f164e5c06b0 (patch) | |
tree | 7bb58a9c5a5965403f3741f8fdee4cfc0ebd956b /tests/valid | |
parent | 71ac3e25f63edac92b4f6cc4ea709491390796ff (diff) | |
download | milf-rs-219de2dd4d60420f810cb60496d41f164e5c06b0.tar.gz milf-rs-219de2dd4d60420f810cb60496d41f164e5c06b0.zip |
close #199: add header information for empty structs
- also add test which fails without this change
- also add a few helpful unit tests to table
Diffstat (limited to 'tests/valid')
-rw-r--r-- | tests/valid/table-multi-empty.json | 5 | ||||
-rw-r--r-- | tests/valid/table-multi-empty.toml | 5 |
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] |