summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-02-25 11:18:32 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-25 11:18:32 -0800
commit87f17d790d8e350e8df1101476882f7751581ee0 (patch)
treebe3e2150edd96e5bcf2a64005f75854c8ae075c3 /t
parentMerge branch 'bw/remote-rename-update-config' (diff)
parentcolor.c: alias RGB colors 8-15 to aixterm colors (diff)
downloadtgif-87f17d790d8e350e8df1101476882f7751581ee0.tar.xz
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 671e951ee5..c0b642c1ab 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"
'