neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit ca9689858dc469621386777175b3481dc842cc00
parent cbaca9fee790c94b0b95c68dff51999b980e0baf
Author: Justin M. Keyes <justinkz@gmail.com>
Date:   Mon,  9 Jun 2025 15:45:39 +0200

ci: skip flaky fold test on freebsd/cirrus

    FAILED
    test/functional/treesitter/fold_spec.lua
     @
    720
    :
    treesitter foldexpr doesn't open folds that are not touched
    test/functional/treesitter/fold_spec.lua:767: Row 1 did not match.
    Expected:
      |*{1:-}^t1                                     |
      |*{1:-}# h2                                   |
      |*{1:│}t2                                     |
      |{3:~                                       }|
      |{3:~                                       }|
      |{3:~                                       }|
      |{3:~                                       }|
      |1 line less; before #2  {MATCH:.*}|
    Actual:
      |*{1: }^t1                                     |
      |*{1:+}{2:+--  2 lines: # h2·····················}|
      |*{3:~                                       }|
      |{3:~                                       }|
      |{3:~                                       }|
      |{3:~                                       }|
      |{3:~                                       }|
      |1 line less; before #2  0 seconds ago   |
    To print the expect() call that would assert the current screen state, use
    screen:snapshot_util(). In case of non-deterministic failures, use
    screen:redraw_debug() to show all intermediate screen states.
    Snapshot:
    screen:expect([[
      {1: }^t1                                     |
      {1:+}{2:+--  2 lines: # h2·····················}|
      {3:~                                       }|*5
      1 line less; before #2  0 seconds ago   |
    ]])

Diffstat:
Mtest/functional/treesitter/fold_spec.lua | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/functional/treesitter/fold_spec.lua b/test/functional/treesitter/fold_spec.lua @@ -735,6 +735,9 @@ t2]]) feed('dd') poke_eventloop() + if t.skip_fragile(pending, t.is_ci('cirrus')) then + return + end screen:expect { grid = [[ {1:-}^t1 |