From 219de2dd4d60420f810cb60496d41f164e5c06b0 Mon Sep 17 00:00:00 2001 From: Garrett Berg Date: Wed, 26 Jul 2017 22:08:22 -0600 Subject: 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 --- tests/valid.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/valid.rs') diff --git a/tests/valid.rs b/tests/valid.rs index e7577ad..6a04866 100644 --- a/tests/valid.rs +++ b/tests/valid.rs @@ -162,6 +162,9 @@ test!(table_empty, test!(table_sub_empty, include_str!("valid/table-sub-empty.toml"), include_str!("valid/table-sub-empty.json")); +test!(table_multi_empty, + include_str!("valid/table-multi-empty.toml"), + include_str!("valid/table-multi-empty.json")); test!(table_whitespace, include_str!("valid/table-whitespace.toml"), include_str!("valid/table-whitespace.json")); -- cgit v1.2.3