From 04ba6996ac0f0b5e8c286575f6e7776151f4cb3c Mon Sep 17 00:00:00 2001 From: shortcuts Date: Sat, 18 May 2024 22:16:04 +0200 Subject: [PATCH] chore: skip .7 for incline --- tests/test_API.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_API.lua b/tests/test_API.lua index 1baf8bb..642b79b 100644 --- a/tests/test_API.lua +++ b/tests/test_API.lua @@ -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}) ]])