aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/float_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-08-19 06:13:08 -0700
committerGitHub <noreply@github.com>2021-08-19 06:13:08 -0700
commit19a0d90bb3479bb6516be229f6001646329d842f (patch)
tree9c4aa1f2c91d71c10cc42e9e3eed04627cc97482 /test/functional/ui/float_spec.lua
parent7bff642169438a66557b65d6aba80536eaf570fa (diff)
parentd8ab8cccd0cf5acdf3e7c3ca229cad4160a6fc2e (diff)
downloadrneovim-19a0d90bb3479bb6516be229f6001646329d842f.tar.gz
rneovim-19a0d90bb3479bb6516be229f6001646329d842f.tar.bz2
rneovim-19a0d90bb3479bb6516be229f6001646329d842f.zip
Merge #15410 defaults: 'hidden', 'nojoinspaces'
ref #6289
Diffstat (limited to 'test/functional/ui/float_spec.lua')
-rw-r--r--test/functional/ui/float_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/float_spec.lua b/test/functional/ui/float_spec.lua
index 51ee922d23..be22d9a403 100644
--- a/test/functional/ui/float_spec.lua
+++ b/test/functional/ui/float_spec.lua
@@ -74,7 +74,8 @@ describe('float window', function()
funcs.win_execute(win, 'bwipe!')
end)
- it('win_execute() call commands that not allowed' , function()
+ it("win_execute() call commands that are not allowed when 'hidden' is not set" , function()
+ command('set nohidden')
local buf = meths.create_buf(false, false)
meths.buf_set_lines(buf, 0, -1, true, {'the floatwin'})
local win = meths.open_win(buf, true, {relative='win', width=16, height=1, row=0, col=10})