]> granicus.if.org Git - vim/commitdiff
patch 8.1.1176: test for dragging a tab is flaky v8.1.1176
authorBram Moolenaar <Bram@vim.org>
Mon, 15 Apr 2019 19:48:22 +0000 (21:48 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 15 Apr 2019 19:48:22 +0000 (21:48 +0200)
Problem:    Test for dragging a tab is flaky.
Solution:   Add a brief sleep.

src/testdir/test_termcodes.vim
src/version.c

index 42a38d2324739dee7145abc709693198bdc66432..ddde7da907b0d4d291c3a9449f7e8270cce68048 100644 (file)
@@ -325,6 +325,8 @@ func Test_xterm_mouse_drag_to_move_tab()
         \              'Tab page 2',
         \              '    Xtab1'], a)
 
+    " brief sleep to avoid causing a double-click
+    sleep 20m
     %bwipe!
   endfor
 
index fb355563d4f23b596628ebf77a9a40e750fd1844..bfb5c59c6a652690a03170b45d42af2b6a230466 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1176,
 /**/
     1175,
 /**/