We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6f206 commit 4285909Copy full SHA for 4285909
crates/formality-core/src/test_util.rs
@@ -60,6 +60,7 @@ where
60
T: Debug,
61
E: Debug,
62
{
63
+ #[track_caller]
64
fn assert_ok(self, expect: expect_test::Expect) {
65
match self {
66
Ok(v) => {
@@ -71,6 +72,7 @@ where
71
72
}
73
74
75
76
fn assert_err(self, expect: expect_test::Expect) {
77
78
Ok(v) => panic!("expected `Err`, got `Ok`: {v:?}"),
0 commit comments