diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-07-02 14:52:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 14:52:08 +0200 |
commit | 7685fc9ecd2a1a0b6c62fe56a14de8441d9f3a58 (patch) | |
tree | 54f568b70630d0454fdee4c39ea457896239c7c2 /test/functional/ui/float_spec.lua | |
parent | 8b0765390292961aa0ec22e9931885c6d947c5e6 (diff) | |
parent | 5f1b7286211ffd1a95684f0d860df9f1a8396801 (diff) | |
download | rneovim-7685fc9ecd2a1a0b6c62fe56a14de8441d9f3a58.tar.gz rneovim-7685fc9ecd2a1a0b6c62fe56a14de8441d9f3a58.tar.bz2 rneovim-7685fc9ecd2a1a0b6c62fe56a14de8441d9f3a58.zip |
Merge pull request #14864 from seandewar/get-config-zindex
fix(api/win_get_config): include z-index
Diffstat (limited to 'test/functional/ui/float_spec.lua')
-rw-r--r-- | test/functional/ui/float_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/float_spec.lua b/test/functional/ui/float_spec.lua index 9fa0ad08f1..61ed0a65b0 100644 --- a/test/functional/ui/float_spec.lua +++ b/test/functional/ui/float_spec.lua @@ -398,8 +398,8 @@ describe('float window', function() it('return their configuration', function() local buf = meths.create_buf(false, false) - local win = meths.open_win(buf, false, {relative='editor', width=20, height=2, row=3, col=5}) - local expected = {anchor='NW', col=5, external=false, focusable=true, height=2, relative='editor', row=3, width=20} + local win = meths.open_win(buf, false, {relative='editor', width=20, height=2, row=3, col=5, zindex=60}) + local expected = {anchor='NW', col=5, external=false, focusable=true, height=2, relative='editor', row=3, width=20, zindex=60} eq(expected, meths.win_get_config(win)) eq({relative='', external=false, focusable=true}, meths.win_get_config(0)) @@ -1674,7 +1674,7 @@ describe('float window', function() ]]} end eq({relative='win', width=12, height=1, bufpos={1,32}, anchor='NW', - external=false, col=0, row=1, win=firstwin, focusable=true}, meths.win_get_config(win)) + external=false, col=0, row=1, win=firstwin, focusable=true, zindex=50}, meths.win_get_config(win)) feed('<c-e>') if multigrid then |