From 0fcc1c78ebf9b9a2e7c4c3f68b8a55809c65e7ce Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Sun, 3 Mar 2024 20:30:22 +0100 Subject: [PATCH] fix: update line numbers in panic messages in tests --- tests/gen/long_time_style_custom_non_recent_empty_nix.stderr | 2 +- tests/gen/long_time_style_custom_non_recent_none_nix.stderr | 2 +- tests/gen/long_time_style_custom_recent_empty_nix.stderr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gen/long_time_style_custom_non_recent_empty_nix.stderr b/tests/gen/long_time_style_custom_non_recent_empty_nix.stderr index 473d04cd..11faed90 100644 --- a/tests/gen/long_time_style_custom_non_recent_empty_nix.stderr +++ b/tests/gen/long_time_style_custom_non_recent_empty_nix.stderr @@ -1,2 +1,2 @@ -thread 'main' panicked at 'Custom timestamp format is empty, please supply a chrono format string after the plus sign.', src/options/view.rs:349:21 +thread 'main' panicked at 'Custom timestamp format is empty, please supply a chrono format string after the plus sign.', src/options/view.rs:347:21 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace diff --git a/tests/gen/long_time_style_custom_non_recent_none_nix.stderr b/tests/gen/long_time_style_custom_non_recent_none_nix.stderr index aa7819f8..4bb15740 100644 --- a/tests/gen/long_time_style_custom_non_recent_none_nix.stderr +++ b/tests/gen/long_time_style_custom_non_recent_none_nix.stderr @@ -1,2 +1,2 @@ -thread 'main' panicked at 'Custom timestamp format is empty, please supply a chrono format string after the plus sign.', src/options/view.rs:347:47 +thread 'main' panicked at 'Custom timestamp format is empty, please supply a chrono format string after the plus sign.', src/options/view.rs:345:47 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace diff --git a/tests/gen/long_time_style_custom_recent_empty_nix.stderr b/tests/gen/long_time_style_custom_recent_empty_nix.stderr index 6bd7f1dc..31268ca0 100644 --- a/tests/gen/long_time_style_custom_recent_empty_nix.stderr +++ b/tests/gen/long_time_style_custom_recent_empty_nix.stderr @@ -1,2 +1,2 @@ -thread 'main' panicked at 'Custom timestamp format for recent files is empty, please supply a chrono format string at the second line.', src/options/view.rs:363:25 +thread 'main' panicked at 'Custom timestamp format for recent files is empty, please supply a chrono format string at the second line.', src/options/view.rs:361:25 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace