aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-28 14:12:37 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-28 16:42:26 +0800
commit3895def46c0ea612761b797d622dc0798e79473f (patch)
treef5300591d1da56876f93372923cfc222c52d971e
parenta8d9f0a2d5f8b976c02bf8f83b17f812bd1c8a0a (diff)
downloadrneovim-3895def46c0ea612761b797d622dc0798e79473f.tar.gz
rneovim-3895def46c0ea612761b797d622dc0798e79473f.tar.bz2
rneovim-3895def46c0ea612761b797d622dc0798e79473f.zip
vim-patch:8.1.1176: test for dragging a tab is flaky
Problem: Test for dragging a tab is flaky. Solution: Add a brief sleep. https://github.com/vim/vim/commit/7f27976589f075d591d54f754be257b5f6e6fd92 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--test/old/testdir/test_termcodes.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_termcodes.vim b/test/old/testdir/test_termcodes.vim
index 85de65111e..b337c4ca95 100644
--- a/test/old/testdir/test_termcodes.vim
+++ b/test/old/testdir/test_termcodes.vim
@@ -297,6 +297,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