]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0375: tests: 1-second delay after Test_BufEnter_botline() v9.1.0375
authorzeertzjq <zeertzjq@outlook.com>
Sat, 27 Apr 2024 09:33:24 +0000 (11:33 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 27 Apr 2024 09:33:24 +0000 (11:33 +0200)
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>
src/testdir/test_autocmd.vim
src/version.c

index 6745ecbe47944a825d5575437aea44e8b81145c8..24e1daf77a3bb6a96aaf64aff1f23ba9cfe0ecc2 100644 (file)
@@ -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
index 2bd0667899139b02aced565b65a9d936029d06f9..c000e5989b60f8ea6d402551427c271151fe4bb8 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    375,
 /**/
     374,
 /**/