Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-08-14 04:41:15 +0300
committerJunio C Hamano <gitster@pobox.com>2018-08-15 00:03:04 +0300
commit991eb4fc6ab1942cbd86060da2846813d990459e (patch)
tree6b52f3c9a8dbaffbe3817b1e7f9d7fe2340ed5b7 /t/test-lib-functions.sh
parenta7be92acd96007bcb4c1fd4e8602eeb5115312c2 (diff)
test_decode_color: understand FAINT and ITALIC
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib-functions.sh')
-rw-r--r--t/test-lib-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
index 2b2181dca0..be8244c47b 100644
--- a/t/test-lib-functions.sh
+++ b/t/test-lib-functions.sh
@@ -42,6 +42,8 @@ test_decode_color () {
function name(n) {
if (n == 0) return "RESET";
if (n == 1) return "BOLD";
+ if (n == 2) return "FAINT";
+ if (n == 3) return "ITALIC";
if (n == 7) return "REVERSE";
if (n == 30) return "BLACK";
if (n == 31) return "RED";