[gtksourceview/wip/chergert/vim] add another s&r test



commit 5d03526650e6c1745773abdfe207d3c003d75be5
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 9 11:07:03 2021 -0800

    add another s&r test

 testsuite/test-vim-input.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/testsuite/test-vim-input.c b/testsuite/test-vim-input.c
index 7fcfd203..0647cb12 100644
--- a/testsuite/test-vim-input.c
+++ b/testsuite/test-vim-input.c
@@ -204,6 +204,7 @@ test_search_and_replace (void)
        run_test ("t t t t\nt t t t\n", ":.,$s/t/f\n", "f t t t\nf t t t\n");
        run_test ("t t\nt t\nt t\n", ":.,+1s/t/f\n", "f t\nf t\nt t\n");
        run_test ("t t t t\nt t t t\n", "V:s/t/f\n", "f t t t\nt t t t\n");
+       run_test ("/ / / /", ":s/\\//#/g\n", "# # # #");
 }
 
 int


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