]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/test-lib-functions.sh
t: use test_decode_color rather than literal ANSI codes
[thirdparty/git.git] / t / test-lib-functions.sh
index db622c3555dcbf7f66b45c05df5279b6db6b2a9e..e09e93b38f869b1d2238b927966125b8c2daab6d 100644 (file)
@@ -42,6 +42,7 @@ test_decode_color () {
                function name(n) {
                        if (n == 0) return "RESET";
                        if (n == 1) return "BOLD";
+                       if (n == 7) return "REVERSE";
                        if (n == 30) return "BLACK";
                        if (n == 31) return "RED";
                        if (n == 32) return "GREEN";