aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-06-04 14:33:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-06-04 14:33:27 -0400
commit8fcf511e7ba576662863494453d9bedd2af039a3 (patch)
treec94df4b6646ea774f23104d1ffa8d3ef93954461
parentb559aac93c406ce9389b477afbd10cf7b0626018 (diff)
Fix spacing on non-color doctest output
-rw-r--r--src/stdlib/stdlib.c2
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" : "");
}
}