diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-06 06:33:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-06 06:33:02 +0200 |
| commit | 9bdbc176ebb48b649e7c9cdaf9ea286871e345c9 (patch) | |
| tree | 01b2a5f673274293fa0993ea4003fb92b5c4d8f8 /test/functional/vimscript/executable_spec.lua | |
| parent | 11b9e6f193454fbdf2c48b2771ada478b5da26d7 (diff) | |
| download | rneovim-9bdbc176ebb48b649e7c9cdaf9ea286871e345c9.tar.gz rneovim-9bdbc176ebb48b649e7c9cdaf9ea286871e345c9.tar.bz2 rneovim-9bdbc176ebb48b649e7c9cdaf9ea286871e345c9.zip | |
vim-patch:9.2.0598: tests: Test_statusline() is flaky (#40128)
Problem: Test_statusline() occasionally fails in CI, reading buffer text
instead of the status line (e.g. '9012...' instead of '57,39').
Solution: In s:get_statusline() redraw unconditionally and read the screen
cells directly with screenstring(), instead of relying on
ScreenLines() whose own redraw! can process events and change the
window layout between the redraw and reading the cells. This
matches the already-stable s:Assert_match_statusline() helper in
test_statuslineopt.vim.
closes: vim/vim#20428
https://github.com/vim/vim/commit/db3ce018b5e1b6d0fac482a52f948ba8ca3899fa
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions