summaryrefslogtreecommitdiffstats
path: root/tests/file_hjson.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/file_hjson.rs')
-rw-r--r--tests/file_hjson.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_hjson.rs b/tests/file_hjson.rs
index 87318eb..b76ccb5 100644
--- a/tests/file_hjson.rs
+++ b/tests/file_hjson.rs
@@ -60,7 +60,7 @@ 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_str().unwrap(),
+ s.place.creator["name"].clone().into_string().unwrap(),
"John Smith".to_string()
);
}