diff --git a/builtins/functions.c b/builtins/functions.c index 7f80845..23d4fa6 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -165,7 +165,7 @@ public void __doctest(void *expr, TypeInfo *type, CORD expected, const char *fil if (!success) { fail_source(filename, start, end, - USE_COLOR ? "\x1b[31;1mDoctest failure:\nExpected: \x1b[32;7m%s\x1b[0m\n\x1b[31;1m But got: \x1b[31;7m%s\x1b[0m\n" + USE_COLOR ? "\x1b[31;1mDoctest failure:\nExpected: \x1b[32;1m%s\x1b[0m\n\x1b[31;1m But got: \x1b[31;7m%s\x1b[0m\n" : "Doctest failure:\nExpected: %s\n But got: %s\n", CORD_to_const_char_star(expected), CORD_to_const_char_star(expr_str)); }