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

340643e977
This commit is contained in:
zeertzjq 2024-04-27 18:02:18 +08:00 committed by GitHub
parent 0547347e72
commit 41ceadd458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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