[gtksourceview/wip/chergert/vim] more tests



commit ae7de53eaf59e0a10aa6fad8d015f5267aa4abb6
Author: Christian Hergert <chergert redhat com>
Date:   Sun Nov 7 13:16:14 2021 -0800

    more tests

 testsuite/test-vim-input.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/testsuite/test-vim-input.c b/testsuite/test-vim-input.c
index 791a511f..756ce1d7 100644
--- a/testsuite/test-vim-input.c
+++ b/testsuite/test-vim-input.c
@@ -104,6 +104,12 @@ test_motion (void)
        run_test ("1\n2\n3\n4", "dG", "");
        run_test ("1\n2\n3\n42", "vjjjx", "2");
        run_test ("1\n2\n3\n42", "vjjjVx", "");
+       run_test ("1\n2\n3\n42", "jmzjjd'z", "1\n");
+
+#if 0
+       /* somehow VIM ignores \n before 4. */
+       run_test ("1\n22\n3\n4", "jlmzjjd`z", "1\n2\n4");
+#endif
 }
 
 int


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]