aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/valid.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-28 15:15:01 -0700
committerGitHub <noreply@github.com>2018-07-28 15:15:01 -0700
commit55a11b89550fb280e3f889cc1b8c9073de6fb937 (patch)
tree98529f0dbc9c75e795e720dd37945b1e189bf450 /test-suite/tests/valid.rs
parent010ae9ffde22a2ed045e8042cd05db42f4adeefa (diff)
parentd6f383d20c2dbefd9ece0834b05310dfae4e2a88 (diff)
downloadmilf-rs-55a11b89550fb280e3f889cc1b8c9073de6fb937.tar.gz
milf-rs-55a11b89550fb280e3f889cc1b8c9073de6fb937.zip
Merge pull request #252 from ehuss/dotted-keys
0.5: Support dotted keys.
Diffstat (limited to 'test-suite/tests/valid.rs')
-rw-r--r--test-suite/tests/valid.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-suite/tests/valid.rs b/test-suite/tests/valid.rs
index b186800..d032ba5 100644
--- a/test-suite/tests/valid.rs
+++ b/test-suite/tests/valid.rs
@@ -45,7 +45,7 @@ fn to_json(toml: toml::Value) -> Json {
fn run_pretty(toml: Toml) {
// Assert toml == json
println!("### pretty round trip parse.");
-
+
// standard pretty
let toml_raw = to_string_pretty(&toml).expect("to string");
let toml2 = toml_raw.parse().expect("from string");
@@ -247,3 +247,6 @@ test!(key_quote_newline,
test!(table_array_nest_no_keys,
include_str!("valid/table-array-nest-no-keys.toml"),
include_str!("valid/table-array-nest-no-keys.json"));
+test!(dotted_keys,
+ include_str!("valid/dotted-keys.toml"),
+ include_str!("valid/dotted-keys.json"));