diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-02-25 01:05:58 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-02-25 01:05:58 -0500 |
| commit | 851ec4e29d18bf7ae33096365ef81ed981396db6 (patch) | |
| tree | 9cee75b170f6e664fb57a0ddcc9039469f2801dd | |
| parent | 9a62f8d6a6f8148deaea89e73d866439b588babb (diff) | |
Fix non-colorized doctest output newlines
| -rw-r--r-- | stdlib/stdlib.c | 2 |
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); |
