vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 68b1db7b0d64fe30c7c99e8c1949b6f4048869f3 parent 34caa0958d2f7ebed9d2eaa81264cb51ec0ab615 Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 28 Dec 2016 16:15:38 +0100 test/core: make tap.h replacement output work outside of tis-interpreter Diffstat:
| M | core/tap.h | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/tap.h b/core/tap.h @@ -16,6 +16,7 @@ static int exit_status() { bool _e = (e); \ printf("%sok %d - ", _e ? "" : "not ", ++test_count); \ printf(__VA_ARGS__); \ + puts(""); \ if (!_e) { \ failures++; \ printf(" Failed test (%s:%s() at line %d)\n", __FILE__, __func__, __LINE__); \ @@ -31,6 +32,7 @@ static int exit_status() { while (_n--) { \ printf("ok %d # skip ", ++test_count); \ printf(__VA_ARGS__); \ + puts(""); \ } \ } while (0)