File recreate-snapshots-with-bat-v0.25.0.patch of Package bat-extras

From c7cadde44bb87eb69957dcb2a6c5fa004d2e8416 Mon Sep 17 00:00:00 2001
From: jlkDE <me@jlk.one>
Date: Wed, 22 Jan 2025 21:56:39 +0100
Subject: [PATCH] test: Recreate snapshots with bat v0.25.0

Due to theme detection using terminal-colorsaurus now
(https://github.com/sharkdp/bat/pull/2896) the line numbers and borders
are now colored in alignment with the foreground color.
---
 .../test_output_with_color.stdout.snapshot    | 10 ++--
 ...t_output_without_separator.stdout.snapshot | 10 ++--
 .../test_respects_bat_style.stdout.snapshot   |  4 +-
 .../test_batpipe_term_width.stdout.snapshot   | 52 +++++++++----------
 4 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/test/snapshot/batgrep/test_output_with_color.stdout.snapshot test/snapshot/batgrep/test_output_with_color.stdout.snapshot
index ee84fc9..dec8c4b 100644
--- a/test/snapshot/batgrep/test_output_with_color.stdout.snapshot
+++ test/snapshot/batgrep/test_output_with_color.stdout.snapshot
@@ -1,8 +1,8 @@
 [2m────────────────────────────────────────────────────────────────────────────────[0m
      File: [1mfile.txt[0m
-[38;5;238m   1[0m [48;5;236;38;5;231mcat[0m[48;5;236m                                                                        [0m
-[38;5;238m   2[0m [38;5;231mdog[0m
-[38;5;238m   3[0m [48;5;236;38;5;231mcar[0m[48;5;236m                                                                        [0m
-[38;5;238m   4[0m [38;5;231mfrog[0m
-[38;5;238m   5[0m [38;5;231mfox[0m
+[38;5;246m   1[0m [48;5;236;38;5;231mcat[0m[48;5;236m                                                                        [0m
+[38;5;246m   2[0m [38;5;231mdog[0m
+[38;5;246m   3[0m [48;5;236;38;5;231mcar[0m[48;5;236m                                                                        [0m
+[38;5;246m   4[0m [38;5;231mfrog[0m
+[38;5;246m   5[0m [38;5;231mfox[0m
 [2m────────────────────────────────────────────────────────────────────────────────[0m
diff --git a/test/snapshot/batgrep/test_output_without_separator.stdout.snapshot test/snapshot/batgrep/test_output_without_separator.stdout.snapshot
index d0997b9..b348682 100644
--- a/test/snapshot/batgrep/test_output_without_separator.stdout.snapshot
+++ test/snapshot/batgrep/test_output_without_separator.stdout.snapshot
@@ -1,6 +1,6 @@
      File: [1mfile.txt[0m
-[38;5;238m   1[0m [48;5;236;38;5;231mcat[0m[48;5;236m                                                                        [0m
-[38;5;238m   2[0m [38;5;231mdog[0m
-[38;5;238m   3[0m [48;5;236;38;5;231mcar[0m[48;5;236m                                                                        [0m
-[38;5;238m   4[0m [38;5;231mfrog[0m
-[38;5;238m   5[0m [38;5;231mfox[0m
+[38;5;246m   1[0m [48;5;236;38;5;231mcat[0m[48;5;236m                                                                        [0m
+[38;5;246m   2[0m [38;5;231mdog[0m
+[38;5;246m   3[0m [48;5;236;38;5;231mcar[0m[48;5;236m                                                                        [0m
+[38;5;246m   4[0m [38;5;231mfrog[0m
+[38;5;246m   5[0m [38;5;231mfox[0m
diff --git a/test/snapshot/batgrep/test_respects_bat_style.stdout.snapshot test/snapshot/batgrep/test_respects_bat_style.stdout.snapshot
index 0463a83..872251c 100644
--- a/test/snapshot/batgrep/test_respects_bat_style.stdout.snapshot
+++ test/snapshot/batgrep/test_respects_bat_style.stdout.snapshot
@@ -1,7 +1,7 @@
-[38;5;238m────────────────────────────────────────────────────────────────────────────────[0m
+[38;5;246m────────────────────────────────────────────────────────────────────────────────[0m
 [48;5;236;38;5;231mcat[0m[48;5;236m                                                                             [0m
 [38;5;231mdog[0m
 [48;5;236;38;5;231mcar[0m[48;5;236m                                                                             [0m
 [38;5;231mfrog[0m
 [38;5;231mfox[0m
-[38;5;238m────────────────────────────────────────────────────────────────────────────────[0m
+[38;5;246m────────────────────────────────────────────────────────────────────────────────[0m
diff --git a/test/snapshot/batpipe/test_batpipe_term_width.stdout.snapshot test/snapshot/batpipe/test_batpipe_term_width.stdout.snapshot
index a3c304f..94c96f0 100644
--- a/test/snapshot/batpipe/test_batpipe_term_width.stdout.snapshot
+++ test/snapshot/batpipe/test_batpipe_term_width.stdout.snapshot
@@ -1,26 +1,26 @@
-[38;5;238m───────┬────────────────────────────────[0m
-       [38;5;238m│ [0mFile: [1mfile.txt[0m
-[38;5;238m───────┼────────────────────────────────[0m
-[38;5;238m   1[0m   [38;5;238m│[0m [38;5;231mcat[0m
-[38;5;238m   2[0m   [38;5;238m│[0m [38;5;231mdog[0m
-[38;5;238m   3[0m   [38;5;238m│[0m [38;5;231mcar[0m
-[38;5;238m   4[0m   [38;5;238m│[0m [38;5;231mfrog[0m
-[38;5;238m   5[0m   [38;5;238m│[0m [38;5;231mfox[0m
-[38;5;238m   6[0m   [38;5;238m│[0m [38;5;231mclocks[0m
-[38;5;238m   7[0m   [38;5;238m│[0m [38;5;231mbash[0m
-[38;5;238m   8[0m   [38;5;238m│[0m [38;5;231m$300[0m
-[38;5;238m   9[0m   [38;5;238m│[0m [38;5;231m^$!@[0m
-[38;5;238m───────┴────────────────────────────────[0m
-[38;5;238m───────┬────────────────────────────────────────────────────[0m
-       [38;5;238m│ [0mFile: [1mfile.txt[0m
-[38;5;238m───────┼────────────────────────────────────────────────────[0m
-[38;5;238m   1[0m   [38;5;238m│[0m [38;5;231mcat[0m
-[38;5;238m   2[0m   [38;5;238m│[0m [38;5;231mdog[0m
-[38;5;238m   3[0m   [38;5;238m│[0m [38;5;231mcar[0m
-[38;5;238m   4[0m   [38;5;238m│[0m [38;5;231mfrog[0m
-[38;5;238m   5[0m   [38;5;238m│[0m [38;5;231mfox[0m
-[38;5;238m   6[0m   [38;5;238m│[0m [38;5;231mclocks[0m
-[38;5;238m   7[0m   [38;5;238m│[0m [38;5;231mbash[0m
-[38;5;238m   8[0m   [38;5;238m│[0m [38;5;231m$300[0m
-[38;5;238m   9[0m   [38;5;238m│[0m [38;5;231m^$!@[0m
-[38;5;238m───────┴────────────────────────────────────────────────────[0m
+[38;5;246m───────┬────────────────────────────────[0m
+       [38;5;246m│ [0mFile: [1mfile.txt[0m
+[38;5;246m───────┼────────────────────────────────[0m
+[38;5;246m   1[0m   [38;5;246m│[0m [38;5;231mcat[0m
+[38;5;246m   2[0m   [38;5;246m│[0m [38;5;231mdog[0m
+[38;5;246m   3[0m   [38;5;246m│[0m [38;5;231mcar[0m
+[38;5;246m   4[0m   [38;5;246m│[0m [38;5;231mfrog[0m
+[38;5;246m   5[0m   [38;5;246m│[0m [38;5;231mfox[0m
+[38;5;246m   6[0m   [38;5;246m│[0m [38;5;231mclocks[0m
+[38;5;246m   7[0m   [38;5;246m│[0m [38;5;231mbash[0m
+[38;5;246m   8[0m   [38;5;246m│[0m [38;5;231m$300[0m
+[38;5;246m   9[0m   [38;5;246m│[0m [38;5;231m^$!@[0m
+[38;5;246m───────┴────────────────────────────────[0m
+[38;5;246m───────┬────────────────────────────────────────────────────[0m
+       [38;5;246m│ [0mFile: [1mfile.txt[0m
+[38;5;246m───────┼────────────────────────────────────────────────────[0m
+[38;5;246m   1[0m   [38;5;246m│[0m [38;5;231mcat[0m
+[38;5;246m   2[0m   [38;5;246m│[0m [38;5;231mdog[0m
+[38;5;246m   3[0m   [38;5;246m│[0m [38;5;231mcar[0m
+[38;5;246m   4[0m   [38;5;246m│[0m [38;5;231mfrog[0m
+[38;5;246m   5[0m   [38;5;246m│[0m [38;5;231mfox[0m
+[38;5;246m   6[0m   [38;5;246m│[0m [38;5;231mclocks[0m
+[38;5;246m   7[0m   [38;5;246m│[0m [38;5;231mbash[0m
+[38;5;246m   8[0m   [38;5;246m│[0m [38;5;231m$300[0m
+[38;5;246m   9[0m   [38;5;246m│[0m [38;5;231m^$!@[0m
+[38;5;246m───────┴────────────────────────────────────────────────────[0m
--
2.48.1

openSUSE Build Service is sponsored by