diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-01 16:20:04 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-01 16:56:24 -0500 |
commit | 85c658e388667f682c1e743a7ccc8424b942a7f4 (patch) | |
tree | 4abb023f52aa94268c9a68fbac290041f4cf8164 | |
parent | b580cf83bd8afba2c107f262bedcfa9bef73cfbb (diff) | |
download | rneovim-85c658e388667f682c1e743a7ccc8424b942a7f4.tar.gz rneovim-85c658e388667f682c1e743a7ccc8424b942a7f4.tar.bz2 rneovim-85c658e388667f682c1e743a7ccc8424b942a7f4.zip |
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)
https://github.com/vim/vim/commit/5efe0e5d16db070f0ab0b944686139e597afe166
-rw-r--r-- | src/nvim/testdir/test_window_cmd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_window_cmd.vim b/src/nvim/testdir/test_window_cmd.vim index bed39d0741..687b1cb989 100644 --- a/src/nvim/testdir/test_window_cmd.vim +++ b/src/nvim/testdir/test_window_cmd.vim @@ -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! |