summaryrefslogtreecommitdiffstats
path: root/tests/legacy/file_ron.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/legacy/file_ron.rs')
-rw-r--r--tests/legacy/file_ron.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/legacy/file_ron.rs b/tests/legacy/file_ron.rs
index 91f88f3..912f654 100644
--- a/tests/legacy/file_ron.rs
+++ b/tests/legacy/file_ron.rs
@@ -60,8 +60,15 @@ fn test_file() {
assert_eq!(s.elements.len(), 10);
assert_eq!(s.elements[3], "4".to_string());
assert_eq!(
- s.place.creator["name"].clone().into_string().unwrap(),
- "John Smith".to_string()
+ s.place
+ .creator
+ .into_iter()
+ .collect::<Vec<(String, config::Value)>>(),
+ vec![
+ ("name".to_string(), "John Smith".into()),
+ ("username".into(), "jsmith".into()),
+ ("email".into(), "jsmith@localhost".into()),
+ ]
);
}