Mercurial > vim
diff src/testdir/test_messages.vim @ 29702:c43738957bee v9.0.0191
patch 9.0.0191: messages test fails; window size incorrect
Commit: https://github.com/vim/vim/commit/d4cf9fc53e0b1d36e84d28ecd5595a6f102f325e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 11 14:13:37 2022 +0100
patch 9.0.0191: messages test fails; window size incorrect
Problem: Messages test fails; window size incorrect when 'cmdheight' is
made smaller.
Solution: Properly cleanup after test with cmdheight zero. Resize windows
correctly when 'cmdheight' gets smaller.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 11 Aug 2022 15:15:03 +0200 |
parents | d413dccd4f8a |
children | a6721cafbc74 |
line wrap: on
line diff
--- a/src/testdir/test_messages.vim +++ b/src/testdir/test_messages.vim @@ -388,6 +388,7 @@ func Test_fileinfo_after_echo() endfunc func Test_cmdheight_zero() + enew set cmdheight=0 set showcmd redraw! @@ -437,10 +438,13 @@ func Test_cmdheight_zero() 7 call feedkeys(":\"\<C-R>=line('w0')\<CR>\<CR>", "xt") call assert_equal('"1', @:) + bwipe! - + bwipe! set cmdheight& set showcmd& + tabnew + tabonly endfunc " vim: shiftwidth=2 sts=2 expandtab