mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
vim-patch:8.2.2260: window resize test fails in very wide terminal
Problem: Window resize test fails in very wide terminal.
Solution: Resize using the 'columns' option. (Vladimir Lomov, closes vim/vim#7592)
5efe0e5d16
This commit is contained in:
parent
b580cf83bd
commit
85c658e388
@ -856,7 +856,7 @@ func Test_window_resize()
|
||||
wincmd l
|
||||
let other_winnr = winnr('h')
|
||||
call assert_notequal(winnr(), other_winnr)
|
||||
exe 'vert ' .. other_winnr .. 'resize -100'
|
||||
exe 'vert ' .. other_winnr .. 'resize -' .. &columns
|
||||
call assert_equal(0, winwidth(other_winnr))
|
||||
|
||||
%bwipe!
|
||||
|
Loading…
Reference in New Issue
Block a user