diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-24 13:03:10 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-24 13:03:10 -0500 |
| commit | 6d904abe14301437aa63655f20268f88f053fdf2 (patch) | |
| tree | 7f1bbca72c4f7f58dfb42a5446b4e5e3cc9e4431 | |
| parent | d1dc7dac4b593fe8bf4053b39d30e84770623c39 (diff) | |
Tweak cord highlighting
| -rw-r--r-- | builtins/functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |
