mirror of
https://github.com/neovim/neovim.git
synced 2026-07-26 02:32:02 +00:00
Problem:
flaky test:
FAILED ...st_xdg_terminal/test/functional/terminal/window_spec.lua @ 175: :terminal window with 'statuscolumn' wraps text
...st_xdg_terminal/test/functional/terminal/window_spec.lua:175: Row 1 did not match.
Expected:
|*{121:++ 7 } |
|*{121:++ 8 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
|*{121:++ 9 }STUVWXYZ |
|*{121:++10 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
|*{121:++11 }STUVWXYZrows: 6, cols: 44 |
|*{121:++12 }^ |
|{5:-- TERMINAL --} |
Actual:
|*{121:++ 8 } |
|*{121:++ 9 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
|*{121:++10 }STUVWXYZ |
|*{121:++11 }abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR|
|*{121:++12 }STUVWXYZrows: 6, cols: 44 |
|*{121:++13 }^ |
|{5:-- TERMINAL --} |
Solution:
Relax the screen test. The `feed_data` + `tty-test` handling is racey;
'statusline' is correctly reporting the line-numbers, and that's all
that matters.