mirror of
https://github.com/serde-rs/json.git
synced 2026-02-14 20:08:52 +00:00
Fixed error in tests
This commit is contained in:
parent
046b6e0968
commit
38e5b8f314
@ -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"));
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user