comparison src/testdir/test_popupwin.vim @ 24868:e8451dc0d643 v8.2.2972

patch 8.2.2972: "%bd" tries to delete popup window buffers, which fails Commit: https://github.com/vim/vim/commit/7b4f76c0300f0bd9bf54ca1968fe9ae5e4dbdef4 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 10 21:07:48 2021 +0200 patch 8.2.2972: "%bd" tries to delete popup window buffers, which fails Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf Schandl) Solution: Do not try to delete a popup window buffer. (closes #8349)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Jun 2021 21:15:03 +0200
parents 9d304d363ab6
children 1dad085e27ac
comparison
equal deleted inserted replaced
24867:fd8966f3bdc6 24868:e8451dc0d643
3916 " clean up 3916 " clean up
3917 call StopVimInTerminal(buf) 3917 call StopVimInTerminal(buf)
3918 call delete('XtestPropNotVisble') 3918 call delete('XtestPropNotVisble')
3919 endfunction 3919 endfunction
3920 3920
3921 func Test_bufdel_skips_popupwin_buffer()
3922 let id = popup_create("Some text", {})
3923 %bd
3924 call popup_close(id)
3925 endfunc
3926
3921 3927
3922 " vim: shiftwidth=2 sts=2 3928 " vim: shiftwidth=2 sts=2