diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-06-04 14:33:27 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-06-04 14:33:27 -0400 |
| commit | 8fcf511e7ba576662863494453d9bedd2af039a3 (patch) | |
| tree | c94df4b6646ea774f23104d1ffa8d3ef93954461 /src/stdlib | |
| parent | b559aac93c406ce9389b477afbd10cf7b0626018 (diff) | |
Fix spacing on non-color doctest output
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/stdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/stdlib.c b/src/stdlib/stdlib.c index 6dfc735b..fa41cda6 100644 --- a/src/stdlib/stdlib.c +++ b/src/stdlib/stdlib.c @@ -510,7 +510,7 @@ public void end_inspect(const void *expr, const TypeInfo_t *type) Text_t expr_text = generic_as_text(expr, USE_COLOR, type); Text_t type_name = generic_as_text(NULL, false, type); for (int i = 0; i < 3*_inspect_depth; i++) fputc(' ', stdout); - fprint(stdout, USE_COLOR ? "\x1b[33;1m=\x1b[0m " : " =", expr_text, USE_COLOR ? " \x1b[2m: \x1b[36m" : " : ", type_name, USE_COLOR ? "\033[m" : ""); + fprint(stdout, USE_COLOR ? "\x1b[33;1m=\x1b[0m " : "= ", expr_text, USE_COLOR ? " \x1b[2m: \x1b[36m" : " : ", type_name, USE_COLOR ? "\033[m" : ""); } } |
