Tweak cord highlighting
This commit is contained in:
parent
d1dc7dac4b
commit
6d904abe14
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user