From 9d35a0ab80528f4e99366c2dc7059caf754a4c71 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 29 Jul 2024 07:08:39 +0200 Subject: [PATCH] fix expectations of journey test, which unfortunately relies on lines numbers --- tests/snapshots/panic-behaviour/expected-failure | 2 +- tests/snapshots/panic-behaviour/expected-failure-in-thread | 2 +- .../panic-behaviour/expected-failure-in-thread-with-progress | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/snapshots/panic-behaviour/expected-failure b/tests/snapshots/panic-behaviour/expected-failure index 4091d0774d2..9c6bf892c21 100644 --- a/tests/snapshots/panic-behaviour/expected-failure +++ b/tests/snapshots/panic-behaviour/expected-failure @@ -1,3 +1,3 @@ -thread 'main' panicked at src/porcelain/main.rs:45:42: +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 3a8b479c1b4..8ef1ef6a67b 100644 --- a/tests/snapshots/panic-behaviour/expected-failure-in-thread +++ b/tests/snapshots/panic-behaviour/expected-failure-in-thread @@ -1,4 +1,4 @@ -thread 'main' panicked at src/porcelain/main.rs:45:42: +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-with-progress b/tests/snapshots/panic-behaviour/expected-failure-in-thread-with-progress index 5e21591cab8..d1035857ddf 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,4 @@ -[?1049h[?25lthread '' panicked at src/porcelain/main.rs:45:42: +[?1049h[?25lthread '' 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