diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-17 12:14:14 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-17 12:33:36 -0400 |
| commit | e1ec2b0729d54710b6fbdf17e02d030468dbed15 (patch) | |
| tree | 93ce699fdc787ed70b5e01e07b7e2fc5738fe599 /src/nvim/testdir | |
| parent | c8ce098e7109f6d62ea0de59d610fcb6132ad221 (diff) | |
| download | rneovim-e1ec2b0729d54710b6fbdf17e02d030468dbed15.tar.gz rneovim-e1ec2b0729d54710b6fbdf17e02d030468dbed15.tar.bz2 rneovim-e1ec2b0729d54710b6fbdf17e02d030468dbed15.zip | |
vim-patch:8.2.1856: "2resize" uses size of current window
Problem: "2resize" uses size of current window.
Solution: Use size of resized window. (Yasuhiro Matsumoto, closes vim/vim#7152)
https://github.com/vim/vim/commit/9668cc57a1e70c99163f90f58202e206d12f40c8
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_window_cmd.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_window_cmd.vim b/src/nvim/testdir/test_window_cmd.vim index 9f47ee2904..500e3ff088 100644 --- a/src/nvim/testdir/test_window_cmd.vim +++ b/src/nvim/testdir/test_window_cmd.vim @@ -879,6 +879,10 @@ func Test_window_resize() exe other_winnr .. 'resize 10' call assert_equal(10, winheight(other_winnr)) call assert_equal(&lines - 10 - 3, winheight(0)) + exe other_winnr .. 'resize +1' + exe other_winnr .. 'resize +1' + call assert_equal(12, winheight(other_winnr)) + call assert_equal(&lines - 10 - 3 -2, winheight(0)) %bwipe! endfunc |