Skip to content

Commit

Permalink
chore: skip .7 for incline
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed May 18, 2024
1 parent 87be4a2 commit 04ba699
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_API.lua
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,12 @@ T["disable"]["does not close the window if unsaved buffer"] = function()
end

T["disable"]["relative window doesn't prevent quitting nvim"] = function()
if child.fn.has("nvim-0.7") == 0 then
MiniTest.skip("incline doesn't support version below 7")

return
end

child.set_size(500, 500)
child.restart({ "-u", "scripts/init_with_incline.lua" })
child.lua([[ require('no-neck-pain').setup({width=50}) ]])
Expand Down

0 comments on commit 04ba699

Please sign in to comment.