mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00: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:
@@ -856,7 +856,7 @@ func Test_window_resize()
|
|||||||
wincmd l
|
wincmd l
|
||||||
let other_winnr = winnr('h')
|
let other_winnr = winnr('h')
|
||||||
call assert_notequal(winnr(), other_winnr)
|
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))
|
call assert_equal(0, winwidth(other_winnr))
|
||||||
|
|
||||||
%bwipe!
|
%bwipe!
|
||||||
|
Reference in New Issue
Block a user