Skip to content

Commit 642c5d9

Browse files
committed
1 parent a788b5b commit 642c5d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cast_checks/tests/inner_attribute_example.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ cast_checks not descending into `mod c ;` at src/lib.rs:0:0
1818
fn test() {
1919
run_command("test", |mut command| {
2020
command.assert().failure().stdout(predicates::str::contains(
21-
"thread 'checked_truncation' panicked at 'invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(())', src/lib.rs:3:1"
21+
"\
22+
thread 'checked_truncation' panicked at src/lib.rs:3:1:
23+
invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(())
24+
",
2225
));
2326
});
2427
}

0 commit comments

Comments
 (0)