Skip to content

Commit

Permalink
nvim_win_get_config() now actually returns a number
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgranstrom committed May 15, 2024
1 parent de0fbc3 commit 1fb67e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spec/automated/postwin_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ describe('post window', function()
}
local id = postwin.open()
local cfg = vim.api.nvim_win_get_config(id)
assert.are.equal(3, cfg.row[true])
assert.are.equal(3, cfg.col[true])
assert.are.equal(3, cfg.row)
assert.are.equal(3, cfg.col)
assert.are.equal(12, cfg.width)
assert.are.equal(12, cfg.height)
assert.are.equal('NW', cfg.anchor)
Expand Down

0 comments on commit 1fb67e1

Please sign in to comment.