summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/get_domainpart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/get_domainpart.c b/tests/get_domainpart.c
index e05aee1..92b7918 100644
--- a/tests/get_domainpart.c
+++ b/tests/get_domainpart.c
@@ -14,10 +14,10 @@ int main(void)
char *result = get_domainpart(input);
if (strcmp(result, expected) == 0) {
- printf("Unit test passed - ok\n");
+ printf("Unit test passed - \033[;32mok\033[0m\n");
return 0;
} else {
- printf("'%s' != '%s'!\n", result, expected);
+ printf("'%s' != '%s' - \033[;31mfailed\033[0m\n", result, expected);
return 1;
}
}