diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-04-13 06:59:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-13 06:59:47 +0800 |
| commit | b081cc3aeb054ef96d7be9f4c2fd13145791b451 (patch) | |
| tree | a86df27d551bb035332ba4e5ef07e4657c9cabed /scripts/lintcommit.lua | |
| parent | 26f77f8fcde523a081a42d7402b44147c45c56f1 (diff) | |
| download | rneovim-b081cc3aeb054ef96d7be9f4c2fd13145791b451.tar.gz rneovim-b081cc3aeb054ef96d7be9f4c2fd13145791b451.tar.bz2 rneovim-b081cc3aeb054ef96d7be9f4c2fd13145791b451.zip | |
test(terminal/channel_spec): wait some time for shell to start (#38995)
Problem:
The retry on Windows doesn't seem to actually work, as the test still
occasionally fails on Windows. Meanwhile the test can fail on Linux as
well:
FAILED test/functional/terminal/channel_spec.lua @ 123: chansend sends lines to terminal channel in proper order
test/functional/terminal/channel_spec.lua:131: retry() attempts: 1
test/functional/terminal/channel_spec.lua:134: Failed to match any screen lines.
Expected (anywhere): "echo "hello".*echo "world""
Actual:
|^ech$ o "hello" |
|echo "world" |
|hello |
|$ world |
|$ |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|term://~/work/neovim/neovim/build/Xtest_xdg_terminal//32516:sh [-] |
| |
Solution:
Use a wait before the chansend() instead.
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions