]> granicus.if.org Git - vim/commitdiff
patch 8.1.1951: mouse double click test is a bit flaky v8.1.1951
authorBram Moolenaar <Bram@vim.org>
Sat, 31 Aug 2019 15:48:19 +0000 (17:48 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 31 Aug 2019 15:48:19 +0000 (17:48 +0200)
Problem:    Mouse double click test is a bit flaky.
Solution:   Add to list of flaky tests.  Update a couple of comments.

src/testdir/runtest.vim
src/testdir/shared.vim
src/testdir/test_substitute.vim
src/version.c

index 1df7fd96a8b54087d6487678d3ec790e743d2398..db6dcd70994a2e0fe4e407c463bb4a391191122b 100644 (file)
@@ -333,6 +333,7 @@ let s:flaky_tests = [
       \ 'Test_raw_one_time_callback()',
       \ 'Test_reltime()',
       \ 'Test_server_crash()',
+      \ 'Test_term_mouse_double_click_to_create_tab',
       \ 'Test_terminal_ansicolors_default()',
       \ 'Test_terminal_ansicolors_func()',
       \ 'Test_terminal_ansicolors_global()',
index a4a7179de40c6bb8bc9ae22bb9d02b4e38e85a94..1032b45a35bcb980f40bcaf98a4f7c15e11e4b9f 100644 (file)
@@ -272,7 +272,7 @@ func GetVimCommand(...)
   return cmd
 endfunc
 
-" Get the command to run Vim, with --clean.
+" Get the command to run Vim, with --clean instead of "-u NONE".
 func GetVimCommandClean()
   let cmd = GetVimCommand()
   let cmd = substitute(cmd, '-u NONE', '--clean', '')
index 344bb68da79cac433aa4eb02e288861d47890e8a..a263fb6211fec19cdfa273eb653e6b58e2a2c6fb 100644 (file)
@@ -504,7 +504,7 @@ func Test_sub_cmd_3()
   call Run_SubCmd_Tests(tests)
 endfunc
 
-" Test for submatch() on :substitue.
+" Test for submatch() on :substitute.
 func Test_sub_cmd_4()
   set magic&
   set cpo&
index 156f075139baf977196869f7e4d1b7fc65874c8c..00e82da91a4ce27e88b1777dbba2a16cd9fb9466 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1951,
 /**/
     1950,
 /**/