diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-27 18:02:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 18:02:18 +0800 |
commit | 41ceadd4587f5fe3e44a7e150d5624bac8af3519 (patch) | |
tree | 30d032816238248777e507cf86dc17c6c8fb7a60 | |
parent | 0547347e72c1e345faf7b7d835a806bfb1f59b68 (diff) | |
download | rneovim-41ceadd4587f5fe3e44a7e150d5624bac8af3519.tar.gz rneovim-41ceadd4587f5fe3e44a7e150d5624bac8af3519.tar.bz2 rneovim-41ceadd4587f5fe3e44a7e150d5624bac8af3519.zip |
vim-patch:9.1.0375: tests: 1-second delay after Test_BufEnter_botline() (#28534)
Problem: tests: 1-second delay after Test_BufEnter_botline()
(after v9.1.0374)
Solution: Wipe the created buffers (zeertzjq).
closes: vim/vim#14647
https://github.com/vim/vim/commit/340643e9779a96710a27d0eeef24f2c08b8967c4
-rw-r--r-- | test/old/testdir/test_autocmd.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim index ddc595e116..cdcd68f3d6 100644 --- a/test/old/testdir/test_autocmd.vim +++ b/test/old/testdir/test_autocmd.vim @@ -4113,6 +4113,9 @@ func Test_BufEnter_botline() edit Xxx2 au BufEnter Xxx1 call assert_true(line('w$') > 1) edit Xxx1 + + bwipe! Xxx1 + bwipe! Xxx2 au! BufEnter Xxx1 set hidden&vim endfunc |