ci: skip tests that fail on windows

This commit is contained in:
Dundar Göc
2022-02-19 11:11:05 +01:00
parent 2550212b25
commit 82c5a02050
16 changed files with 39 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ local eq, eval = helpers.eq, helpers.eval
local feed_command = helpers.feed_command
local hide_cursor = thelpers.hide_cursor
local show_cursor = thelpers.show_cursor
local iswin = helpers.iswin
describe(':terminal cursor', function()
local screen
@@ -87,6 +88,7 @@ describe(':terminal cursor', function()
describe('when invisible', function()
it('is not highlighted and is detached from screen cursor', function()
if helpers.pending_win32(pending) then return end
hide_cursor()
screen:expect([[
tty ready |
@@ -176,6 +178,7 @@ describe('cursor with customized highlighting', function()
end)
describe('buffer cursor position is correct in terminal without number column', function()
if not iswin() then
local screen
local function setup_ex_register(str)
@@ -523,9 +526,11 @@ describe('buffer cursor position is correct in terminal without number column',
eq({6, 1}, eval('nvim_win_get_cursor(0)'))
end)
end)
end
end)
describe('buffer cursor position is correct in terminal with number column', function()
if not iswin() then
local screen
local function setup_ex_register(str)
@@ -876,4 +881,5 @@ describe('buffer cursor position is correct in terminal with number column', fun
eq({6, 1}, eval('nvim_win_get_cursor(0)'))
end)
end)
end
end)