diff options
| author | Stefan Beller <sbeller@google.com> | 2018-08-13 18:41:15 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-08-14 14:03:04 -0700 |
| commit | 991eb4fc6ab1942cbd86060da2846813d990459e (patch) | |
| tree | 6b52f3c9a8dbaffbe3817b1e7f9d7fe2340ed5b7 | |
| parent | a7be92acd96007bcb4c1fd4e8602eeb5115312c2 (diff) | |
| download | git-991eb4fc6ab1942cbd86060da2846813d990459e.tar.gz | |
test_decode_color: understand FAINT and ITALIC
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | t/test-lib-functions.sh | 2 |
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"; |
