[gtksourceview/wip/chergert/vim: 297/363] add some more tricky word tests




commit 5f9c85285e4442e1e4750cdf6ede8f2320a7734b
Author: Christian Hergert <chergert redhat com>
Date:   Thu Nov 4 22:53:53 2021 -0700

    add some more tricky word tests

 testsuite/test-vim-text-object.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/testsuite/test-vim-text-object.c b/testsuite/test-vim-text-object.c
index a9ed32b9..d91e5efe 100644
--- a/testsuite/test-vim-text-object.c
+++ b/testsuite/test-vim-text-object.c
@@ -85,17 +85,17 @@ test_word (void)
        run_test (gtk_source_vim_text_object_new_a_word (), "a b", 2, "b", FALSE);
        run_test (gtk_source_vim_text_object_new_a_word (), "a b c", 2, "b ", FALSE);
        run_test (gtk_source_vim_text_object_new_inner_word (), "\n    \n\n", 2, "    ", FALSE);
+       run_test (gtk_source_vim_text_object_new_a_word (), "\n    \n\n", 2, "    ", FALSE);
 }
 
 static void
 test_WORD (void)
 {
-       run_test (gtk_source_vim_text_object_new_inner_WORD (),
-                 "this is some- text to modify\n", 8, "some-", FALSE);
-       run_test (gtk_source_vim_text_object_new_inner_WORD (),
-                 "something  here\n", 10, "  ", FALSE);
-       run_test (gtk_source_vim_text_object_new_inner_WORD (),
-                 "something  here", 9, "  ", FALSE);
+       run_test (gtk_source_vim_text_object_new_inner_WORD (), "this is some- text to modify\n", 8, "some-", 
FALSE);
+       run_test (gtk_source_vim_text_object_new_inner_WORD (), "something  here\n", 10, "  ", FALSE);
+       run_test (gtk_source_vim_text_object_new_inner_WORD (), "something  here", 9, "  ", FALSE);
+       run_test (gtk_source_vim_text_object_new_inner_WORD (), "\n    \n\n", 2, "    ", FALSE);
+       run_test (gtk_source_vim_text_object_new_a_WORD (), "\n    \n\n", 2, "    ", FALSE);
 }
 
 static void


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