range-diff: allow to diff files regardless of submodule config
[gitweb.git] / t / test-lib-functions.sh
index 7293041b1e555d8d133afa1537c3d668e5b1bbba..78d8c3783bd301a3dd2bf7061f04e08368d7ca37 100644 (file)
@@ -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";