Skip to content

Commit

Permalink
Adjust test expectations to the new newline that panic! now prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Feb 22, 2025
1 parent 0e9299c commit cf98a15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/snapshots/panic-behaviour/expected-failure
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

thread 'main' panicked at src/porcelain/main.rs:40:42:
something went very wrong
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1 change: 1 addition & 0 deletions tests/snapshots/panic-behaviour/expected-failure-in-thread
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

thread 'main' panicked at src/porcelain/main.rs:40:42:
something went very wrong
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[?1049h[?25lthread '<unnamed>' panicked at src/porcelain/main.rs:40:42:
[?1049h[?25l
thread '<unnamed>' panicked at src/porcelain/main.rs:40:42:
something went very wrong
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[?25h[?1049l

0 comments on commit cf98a15

Please sign in to comment.