summaryrefslogtreecommitdiffstats
path: root/tests/file_json.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/file_json.rs')
-rw-r--r--tests/file_json.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/file_json.rs b/tests/file_json.rs
index 7730f92..d3fa0a9 100644
--- a/tests/file_json.rs
+++ b/tests/file_json.rs
@@ -60,7 +60,10 @@ fn test_file() {
assert_eq!(s.elements[3], "4".to_string());
if cfg!(feature = "preserve_order") {
assert_eq!(
- s.place.creator.into_iter().collect::<Vec<(String, config::Value)>>(),
+ s.place
+ .creator
+ .into_iter()
+ .collect::<Vec<(String, config::Value)>>(),
vec![
("name".to_string(), "John Smith".into()),
("username".into(), "jsmith".into()),