summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-02-25 19:18:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-25 19:18:32 (GMT)
commit87f17d790d8e350e8df1101476882f7751581ee0 (patch)
treebe3e2150edd96e5bcf2a64005f75854c8ae075c3 /t
parentd0038f4b31d6ab1f0602a4d3c19e35c5004175fa (diff)
parentc444f032e43611b95612882cd06380866f8da0fd (diff)
downloadgit-87f17d790d8e350e8df1101476882f7751581ee0.zip
git-87f17d790d8e350e8df1101476882f7751581ee0.tar.gz
git-87f17d790d8e350e8df1101476882f7751581ee0.tar.bz2
Merge branch 'es/bright-colors'
The basic 7 colors learned the brighter counterparts (e.g. "brightred"). * es/bright-colors: color.c: alias RGB colors 8-15 to aixterm colors color.c: support bright aixterm colors color.c: refactor color_output arguments
Diffstat (limited to 't')
-rwxr-xr-xt/t4026-color.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t4026-color.sh b/t/t4026-color.sh
index 671e951..c0b642c 100755
--- a/t/t4026-color.sh
+++ b/t/t4026-color.sh
@@ -30,6 +30,14 @@ test_expect_success 'attribute before color name' '
color "bold red" "[1;31m"
'
+test_expect_success 'aixterm bright fg color' '
+ color "brightred" "[91m"
+'
+
+test_expect_success 'aixterm bright bg color' '
+ color "green brightblue" "[32;104m"
+'
+
test_expect_success 'color name before attribute' '
color "red bold" "[1;31m"
'
@@ -74,6 +82,10 @@ test_expect_success '0-7 are aliases for basic ANSI color names' '
color "0 7" "[30;47m"
'
+test_expect_success '8-15 are aliases for aixterm color names' '
+ color "12 13" "[94;105m"
+'
+
test_expect_success '256 colors' '
color "254 bold 255" "[1;38;5;254;48;5;255m"
'