aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-13 10:38:21 -0500
committerGitHub <noreply@github.com>2021-03-13 10:38:21 -0500
commit9808c8d9ddea2a8e29e7b979581ba67f8871a1b1 (patch)
tree82f70a113233a5cb984e04b75d5ba4f06a851782 /test/functional
parent5d5e018a5c1a8f0f185718dd4513b908c164a6b9 (diff)
parenta1cdb6ca6a796b6ff5593f924659f5b707e23e27 (diff)
downloadrneovim-9808c8d9ddea2a8e29e7b979581ba67f8871a1b1.tar.gz
rneovim-9808c8d9ddea2a8e29e7b979581ba67f8871a1b1.tar.bz2
rneovim-9808c8d9ddea2a8e29e7b979581ba67f8871a1b1.zip
Merge pull request #14126 from janlazo/vim-8.2.2593
vim-patch:8.2.{2593,2594,2595}
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/options_spec.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/functional/legacy/options_spec.lua b/test/functional/legacy/options_spec.lua
index d7f5df3a1e..023cdd4ae1 100644
--- a/test/functional/legacy/options_spec.lua
+++ b/test/functional/legacy/options_spec.lua
@@ -42,6 +42,20 @@ describe('set', function()
matches('E36: Not enough room', exc_exec('set wmh=1'))
end)
+ it('winminheight works with tabline', function()
+ local screen = Screen.new(20, 11)
+ screen:attach()
+ source([[
+ set wmh=0 stal=2
+ split
+ split
+ split
+ split
+ tabnew
+ ]])
+ matches('E36: Not enough room', exc_exec('set wmh=1'))
+ end)
+
it('scroll works', function()
local screen = Screen.new(42, 16)
screen:attach()