vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 2442d9330b417b9f704163c5778116dab599ec95 parent 5e95d1184b395faa46884b28567fcf62baf9ae5c Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 23 Oct 2020 11:19:59 +0200 text/core: fix undo test name numbering Diffstat:
| M | core/text-test.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/text-test.c b/core/text-test.c @@ -250,10 +250,10 @@ int main(int argc, char *argv[]) { ok(text_undo(txt) != EPOS && compare(txt, "123456789"), "Undo 1"); ok(text_undo(txt) != EPOS && compare(txt, "123456"), "Undo 2"); ok(text_undo(txt) != EPOS && compare(txt, "12346"), "Undo 3"); - ok(text_undo(txt) != EPOS && compare(txt, "123"), "Undo 3"); + ok(text_undo(txt) != EPOS && compare(txt, "123"), "Undo 4"); ok(text_undo(txt) != EPOS && compare(txt, "13"), "Undo 5"); ok(text_undo(txt) != EPOS && compare(txt, "3"), "Undo 6"); - ok(text_undo(txt) != EPOS && compare(txt, ""), "Undo 6"); + ok(text_undo(txt) != EPOS && compare(txt, ""), "Undo 7"); ok(text_redo(txt) != EPOS && compare(txt, "3"), "Redo 1"); ok(text_redo(txt) != EPOS && compare(txt, "13"), "Redo 2"); ok(text_redo(txt) != EPOS && compare(txt, "123"), "Redo 3");