diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-21 19:44:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-21 19:44:47 +0200 |
commit | 7591116acffc45b5880c49244646651badac1629 (patch) | |
tree | 16e4659d7fb41d8cad4944fd9905a09c04d0d895 /src/testdir/test_normal.vim | |
parent | f56c95fdad5af521887f8cd7bc15729b5355231d (diff) | |
download | vim-git-7591116acffc45b5880c49244646651badac1629.tar.gz |
patch 8.2.1260: there is no good test for CursorHoldv8.2.1260
Problem: There is no good test for CursorHold.
Solution: Add a test. Remove duplicated test. (Yegappan Lakshmanan,
closes #6503
Diffstat (limited to 'src/testdir/test_normal.vim')
-rw-r--r-- | src/testdir/test_normal.vim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index 68aae534e..58c9ece68 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -2506,24 +2506,6 @@ func Test_normal47_visual_buf_wipe() set nomodified endfunc -func Test_normal47_autocmd() - " disabled, does not seem to be possible currently - throw "Skipped: not possible to test cursorhold autocmd while waiting for input in normal_cmd" - new - call append(0, repeat('-',20)) - au CursorHold * call feedkeys('2l', '') - 1 - set updatetime=20 - " should delete 12 chars (d12l) - call feedkeys('d1', '!') - call assert_equal('--------', getline(1)) - - " clean up - au! CursorHold - set updatetime=4000 - bw! -endfunc - func Test_normal48_wincmd() new exe "norm! \<c-w>c" |