From 6d904abe14301437aa63655f20268f88f053fdf2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 24 Feb 2024 13:03:10 -0500 Subject: Tweak cord highlighting --- builtins/functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtins/functions.c b/builtins/functions.c index 7f80845a..23d4fa66 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)); } -- cgit v1.2.3