aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-04-01 10:28:18 -0700
committerJunio C Hamano <gitster@pobox.com>2026-04-01 10:28:18 -0700
commit8744cef3242e3bcace5f86a24365154a4405544a (patch)
treef477277dcf82d75cfdc84f5d13d0166dee02284c /t
parent0a39ec283cadafeae5f542a26569e4cec6f36fae (diff)
parent6689a6ea493b484d6a43601f42c1633706c963d6 (diff)
downloadgit-8744cef3242e3bcace5f86a24365154a4405544a.tar.xz
Merge branch 'jk/diff-highlight-more'
Various updates to contrib/diff-highlight, including documentation updates, test improvements, and color configuration handling. * jk/diff-highlight-more: diff-highlight: fetch all config with one process diff-highlight: allow module callers to pass in color config diff-highlight: test color config diff-highlight: use test_decode_color in tests t: add matching negative attributes to test_decode_color diff-highlight: check diff-highlight exit status in tests diff-highlight: drop perl version dependency back to 5.8 diff-highlight: mention build instructions
Diffstat (limited to 't')
-rw-r--r--t/test-lib-functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 14e238d24d..f3af10fb7e 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -48,6 +48,9 @@ test_decode_color () {
if (n == 2) return "FAINT";
if (n == 3) return "ITALIC";
if (n == 7) return "REVERSE";
+ if (n == 22) return "NORMAL_INTENSITY";
+ if (n == 23) return "NOITALIC";
+ if (n == 27) return "NOREVERSE";
if (n == 30) return "BLACK";
if (n == 31) return "RED";
if (n == 32) return "GREEN";