Skip to content

Commit 751dc63

Browse files
committed
Track caller of the assertion helper in test_expr
1 parent a1882b2 commit 751dc63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ pub enum RustupError {
5050
},
5151
}
5252

53+
#[track_caller]
5354
fn assert<T: Display>(expected: &str, value: T) {
5455
assert_eq!(expected, value.to_string());
5556
}

0 commit comments

Comments
 (0)