From cf98a159feb6a23dbe47887cd2744c9db93430aa Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 22 Feb 2025 17:11:41 +0100 Subject: [PATCH] Adjust test expectations to the new newline that panic! now prints --- tests/snapshots/panic-behaviour/expected-failure | 1 + tests/snapshots/panic-behaviour/expected-failure-in-thread | 1 + .../panic-behaviour/expected-failure-in-thread-with-progress | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/snapshots/panic-behaviour/expected-failure b/tests/snapshots/panic-behaviour/expected-failure index 9c6bf892c21..0cf65deb235 100644 --- a/tests/snapshots/panic-behaviour/expected-failure +++ b/tests/snapshots/panic-behaviour/expected-failure @@ -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 \ No newline at end of file diff --git a/tests/snapshots/panic-behaviour/expected-failure-in-thread b/tests/snapshots/panic-behaviour/expected-failure-in-thread index 8ef1ef6a67b..2c58afa0cea 100644 --- a/tests/snapshots/panic-behaviour/expected-failure-in-thread +++ b/tests/snapshots/panic-behaviour/expected-failure-in-thread @@ -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 diff --git a/tests/snapshots/panic-behaviour/expected-failure-in-thread-with-progress b/tests/snapshots/panic-behaviour/expected-failure-in-thread-with-progress index d1035857ddf..aaf85f87371 100644 --- a/tests/snapshots/panic-behaviour/expected-failure-in-thread-with-progress +++ b/tests/snapshots/panic-behaviour/expected-failure-in-thread-with-progress @@ -1,4 +1,5 @@ -[?1049h[?25lthread '' panicked at src/porcelain/main.rs:40:42: +[?1049h[?25l +thread '' 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 \ No newline at end of file