summaryrefslogtreecommitdiffstats
path: root/tests/file_yaml.rs
diff options
context:
space:
mode:
authorCaleb Maclennan <caleb@alerque.com>2021-03-28 10:59:58 +0300
committerCaleb Maclennan <caleb@alerque.com>2021-03-28 20:15:08 +0300
commit7687476f9b3b478e17e72a63b2a45d12d92e348d (patch)
tree84a1ef8450f48f199e97131a75a9240910193318 /tests/file_yaml.rs
parent225005994d46e634918568b9013cfae82c491a8a (diff)
Rename get_str() → get_string() to match returned type
Diffstat (limited to 'tests/file_yaml.rs')
-rw-r--r--tests/file_yaml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_yaml.rs b/tests/file_yaml.rs
index 59174e6..892875e 100644
--- a/tests/file_yaml.rs
+++ b/tests/file_yaml.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()
);
}