diff options
Diffstat (limited to 'test/functional/ui/winbar_spec.lua')
-rw-r--r-- | test/functional/ui/winbar_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/winbar_spec.lua b/test/functional/ui/winbar_spec.lua index 858a537d3a..69789ce8c1 100644 --- a/test/functional/ui/winbar_spec.lua +++ b/test/functional/ui/winbar_spec.lua @@ -51,7 +51,7 @@ describe('winbar', function() ]]) -- winbar is excluded from the heights returned by winheight() and getwininfo() eq(11, fn.winheight(0)) - local win_info = fn.getwininfo(api.nvim_get_current_win().id)[1] + local win_info = fn.getwininfo(api.nvim_get_current_win())[1] eq(11, win_info.height) eq(1, win_info.winbar) end) @@ -428,7 +428,7 @@ describe('winbar', function() | ]], } - api.nvim_set_option_value('winbar', 'floaty bar', { scope = 'local', win = win.id }) + api.nvim_set_option_value('winbar', 'floaty bar', { scope = 'local', win = win }) screen:expect { grid = [[ {1:bar }| |