diff --git a/cast_checks/tests/inner_attribute_example.rs b/cast_checks/tests/inner_attribute_example.rs index c47910a..7da90ab 100644 --- a/cast_checks/tests/inner_attribute_example.rs +++ b/cast_checks/tests/inner_attribute_example.rs @@ -18,7 +18,10 @@ cast_checks not descending into `mod c ;` at src/lib.rs:0:0 fn test() { run_command("test", |mut command| { command.assert().failure().stdout(predicates::str::contains( - "thread 'checked_truncation' panicked at 'invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(())', src/lib.rs:3:1" + "\ +thread 'checked_truncation' panicked at src/lib.rs:3:1: +invalid cast in `x as u16` at src/lib.rs:0:0: TryFromIntError(()) +", )); }); }