Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse_color: support 24-bit RGB values
[gitweb.git]
/
t
/
t4026-color.sh
diff --git
a/t/t4026-color.sh
b/t/t4026-color.sh
index 63e423838f1025d74b830bf84629427defdb756a..65386db9168bb10dd596fca494d0170da99a03f8 100755
(executable)
--- a/
t/t4026-color.sh
+++ b/
t/t4026-color.sh
@@
-53,6
+53,10
@@
test_expect_success '256 colors' '
color "254 bold 255" "[1;38;5;254;48;5;255m"
'
+test_expect_success '24-bit colors' '
+ color "#ff00ff black" "[38;2;255;0;255;40m"
+'
+
test_expect_success '"normal" yields no color at all"' '
color "normal black" "[40m"
'