mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
ci: skip flaky cursor test on freebsd/cirrus
Problem:
Test often fails on cirrus CI (freebsd):
buffer cursor position is correct in terminal with number column in a line with single-cell multibyte chars and no trailing spaces, before_each
test/functional/terminal/cursor_spec.lua:805: Row 5 did not match.
Expected:
|{7: 1 } |
|{7: 2 } |
|{7: 3 } |
|{7: 4 } |
|*{7: 5 }Entering Ex mode. Type "visual" to go to Normal mode. |
|{7: 6 }:^ |
|{3:-- TERMINAL --} |
Actual:
|{7: 1 } |
|{7: 2 } |
|{7: 3 } |
|{7: 4 } |
|*{7: 5 } |
|{7: 6 }:^ |
|{3:-- TERMINAL --} |
Solution:
Skip it. Ex mode isn't that important.
This commit is contained in:
@@ -781,6 +781,10 @@ describe('buffer cursor position is correct in terminal without number column',
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
describe('buffer cursor position is correct in terminal with number column', function()
|
describe('buffer cursor position is correct in terminal with number column', function()
|
||||||
|
if t.is_ci('cirrus') then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local screen
|
local screen
|
||||||
|
|
||||||
local function setup_ex_register(str)
|
local function setup_ex_register(str)
|
||||||
|
|||||||
Reference in New Issue
Block a user