diff options
Diffstat (limited to 'tests/file_yaml.rs')
-rw-r--r-- | tests/file_yaml.rs | 2 |
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() ); } |