Skip to content

Commit 2fa768d

Browse files
committed
url: fix serde tests
These were broken by refactoring in c9ed907.
1 parent 6865d52 commit 2fa768d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/tests/data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn check_invariants(url: &Url, name: &str, comment: Option<&str>) -> bool {
144144
{
145145
let bytes = serde_json::to_vec(url).unwrap();
146146
let new_url: Url = serde_json::from_slice(&bytes).unwrap();
147-
passed &= test_eq(url, &new_url, name, comment);
147+
passed &= test_eq_eprint(url.to_string(), &new_url.to_string(), name, comment);
148148
}
149149

150150
passed

0 commit comments

Comments
 (0)