diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 01:28:30 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 01:28:30 -0500 |
| commit | 16e663941a51df9124412be0490446e868fef238 (patch) | |
| tree | c88725f21a6545a73c78fd656bfba1e493a6dd4b | |
| parent | 006f95b202403d57d2cafb7a59846148ddaa9012 (diff) | |
Doctest with two '>>'
| -rw-r--r-- | builtins/functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/functions.c b/builtins/functions.c index ecd652c0..4a29af40 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -128,7 +128,7 @@ public void __doctest(void *expr, TypeInfo *type, CORD expected, const char *fil file = load_file(filename); if (filename && file) - CORD_fprintf(stderr, USE_COLOR ? "\x1b[33;1m>>> \x1b[0m%.*s\x1b[m\n" : ">>> %.*s\n", (end - start), file->text + start); + CORD_fprintf(stderr, USE_COLOR ? "\x1b[33;1m>> \x1b[0m%.*s\x1b[m\n" : ">> %.*s\n", (end - start), file->text + start); if (expr) { CORD expr_str = generic_as_str(expr, USE_COLOR, type); |
