Commit: patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline()

2 views
Skip to first unread message

Christian Brabandt

unread,
Apr 27, 2024, 5:45:15 AM4/27/24
to vim...@googlegroups.com
patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline()

Commit: https://github.com/vim/vim/commit/340643e9779a96710a27d0eeef24f2c08b8967c4
Author: zeertzjq <zeer...@outlook.com>
Date: Sat Apr 27 11:33:24 2024 +0200

patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline()

Problem: tests: 1-second delay after Test_BufEnter_botline()
(after v9.1.0374)
Solution: Wipe the created buffers (zeertzjq).

closes: #14647

Signed-off-by: zeertzjq <zeer...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 6745ecbe4..24e1daf77 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -4687,6 +4687,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
diff --git a/src/version.c b/src/version.c
index 2bd066789..c000e5989 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 375,
/**/
374,
/**/
Reply all
Reply to author
Forward
0 new messages