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:
Jan Edmund Lazo 2021-01-01 16:20:04 -05:00
parent b580cf83bd
commit 85c658e388
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

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