aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-25 01:05:58 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-25 01:05:58 -0500
commit851ec4e29d18bf7ae33096365ef81ed981396db6 (patch)
tree9cee75b170f6e664fb57a0ddcc9039469f2801dd /stdlib
parent9a62f8d6a6f8148deaea89e73d866439b588babb (diff)
Fix non-colorized doctest output newlines
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/stdlib.c b/stdlib/stdlib.c
index 54275995..c97dbfa3 100644
--- a/stdlib/stdlib.c
+++ b/stdlib/stdlib.c
@@ -514,7 +514,7 @@ public void end_test(const void *expr, const TypeInfo_t *type, const char *expec
fprintf(stderr,
USE_COLOR
? "\n\x1b[31;7m ==================== TEST FAILED ==================== \x1b[0;1m\n\nExpected: \x1b[1;32m%s\x1b[0m\n\x1b[1m But got:\x1b[m %k\n\n"
- : "\n==================== TEST FAILED ====================\nExpected: %s\n\n But got: %k\n\n",
+ : "\n==================== TEST FAILED ====================\n\nExpected: %s\n But got: %k\n\n",
expected, &expr_text);
print_stack_trace(stderr, 2, 4);