فهرست منبع

fix: update line numbers in panic messages in tests

Terts Diepraam 1 سال پیش
والد
کامیت
0fcc1c78eb

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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