Skip to content

Commit 6c6f206

Browse files
committed
normalize paths in assert_err (doh!)
1 parent 047e156 commit 6c6f206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/formality-core/src/test_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ where
7575
match self {
7676
Ok(v) => panic!("expected `Err`, got `Ok`: {v:?}"),
7777
Err(e) => {
78-
expect.assert_eq(&format!("{e:?}"));
78+
expect.assert_eq(&normalize_paths(format!("{e:?}")));
7979
}
8080
}
8181
}

0 commit comments

Comments
 (0)