From d1dc7dac4b593fe8bf4053b39d30e84770623c39 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 24 Feb 2024 13:02:20 -0500 Subject: Fix cording --- builtins/functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtins/functions.c b/builtins/functions.c index 7dc96704..7f80845a 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -167,7 +167,7 @@ public void __doctest(void *expr, TypeInfo *type, CORD expected, const char *fil 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" : "Doctest failure:\nExpected: %s\n But got: %s\n", - expected, expr_str); + CORD_to_const_char_star(expected), CORD_to_const_char_star(expr_str)); } } } -- cgit v1.2.3