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 #7592)
diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim
index b0c5a41..8a97488 100644
--- a/src/testdir/test_window_cmd.vim
+++ b/src/testdir/test_window_cmd.vim
@@ -1154,7 +1154,7 @@
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!
diff --git a/src/version.c b/src/version.c
index 5ebda46..a1b32e8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2260,
+/**/
2259,
/**/
2258,