diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-03-07 11:28:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-07 11:28:35 +0800 |
| commit | f1c82be1a1af3a0513f0562dd2d9024304aef27d (patch) | |
| tree | 8a06e8b326b42ae5fc45fc24d6af63fae78a5b2c /runtime/syntax/python.vim | |
| parent | b6c020eb593a3eda3dbc54f81808b67a12b596e1 (diff) | |
| download | rneovim-f1c82be1a1af3a0513f0562dd2d9024304aef27d.tar.gz rneovim-f1c82be1a1af3a0513f0562dd2d9024304aef27d.tar.bz2 rneovim-f1c82be1a1af3a0513f0562dd2d9024304aef27d.zip | |
test(shell-test): call tcdrain() on stdout and stderr on exit (#38177)
Similar to #38154, shell-test also has the same problem on FreeBSD:
FAILED
1 test, listed below:
FAILED
test/functional/terminal/ex_terminal_spec.lua @
237:
:terminal (with fake shell) executes a given command through the shell
test/functional/terminal/ex_terminal_spec.lua:239: Row 1 did not match.
Expected:
|*^ready $ echo hi |
|* |
|*[Process exited 0] |
| |
Actual:
|*^ |
|*[Process exited 0] |
|* |
| |
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([[
^ |
[Process exited 0] |
|*2
]])
stack traceback:
test/functional/ui/screen.lua:909: in function '_wait'
test/functional/ui/screen.lua:537: in function 'expect'
test/functional/terminal/ex_terminal_spec.lua:239: in function <test/functional/terminal/ex_terminal_spec.lua:237>
Running the test repeatedly somehow doesn't trigger the problem, but as
mentioned in #36792 a similar problem has also happened previously.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions