Fixed error in tests

This commit is contained in:
Martin Tomasi 2017-05-25 09:43:09 +02:00
parent 046b6e0968
commit 38e5b8f314

View File

@ -1831,5 +1831,5 @@ fn test_borrow() {
#[test]
fn null_invalid_type() {
let err = serde_json::from_str::<String>("null").unwrap_err();
assert_eq!(format!("{}", err), String::from("invalid type: null, expected string"));
assert_eq!(format!("{}", err), String::from("invalid type: null, expected a string at line 1 column 4"));
}