test_decode_color: understand FAINT and ITALIC
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
Aug 13, 2018 at 18:41 UTC
991eb4fc6ab1942cbd86060da2846813d990459e
1 file changed
+2
t/test-lib-functions.sh
+2
@@ -42,6 +42,8 @@ test_decode_color () {
42
function name(n) {
43
if (n == 0) return "RESET";
44
if (n == 1) return "BOLD";
45
+ if (n == 2) return "FAINT";
46
+ if (n == 3) return "ITALIC";
47
if (n == 7) return "REVERSE";
48
if (n == 30) return "BLACK";
49
if (n == 31) return "RED";