changeset 35060:92b3535e3c20 v9.1.0375

patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline() Commit: https://github.com/vim/vim/commit/340643e9779a96710a27d0eeef24f2c08b8967c4 Author: zeertzjq <zeertzjq@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 <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Apr 2024 11:45:08 +0200
parents 41a247d1e0da
children 04ab7e07642d
files src/testdir/test_autocmd.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    375,
+/**/
     374,
 /**/
     373,