mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
ci: skip tests that fail on windows
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user