From cbaca9fee790c94b0b95c68dff51999b980e0baf Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 7 Jun 2025 17:15:00 +0200 Subject: [PATCH] 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. --- test/functional/terminal/cursor_spec.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/functional/terminal/cursor_spec.lua b/test/functional/terminal/cursor_spec.lua index a003d7d6e6..1e039cd5ef 100644 --- a/test/functional/terminal/cursor_spec.lua +++ b/test/functional/terminal/cursor_spec.lua @@ -781,6 +781,10 @@ describe('buffer cursor position is correct in terminal without number column', end) describe('buffer cursor position is correct in terminal with number column', function() + if t.is_ci('cirrus') then + return + end + local screen local function setup_ex_register(str)