diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-07-16 19:36:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-16 19:36:13 +0800 |
| commit | 7c091348af0ea3e0f6e05b5f387a972b418bfd9b (patch) | |
| tree | 9952058b56ade919a5777459c8958cfcc1f461ae /runtime/lua/vim/range.lua | |
| parent | 16c25e8aee1633277edd522de70c65dae67acecc (diff) | |
| download | rneovim-7c091348af0ea3e0f6e05b5f387a972b418bfd9b.tar.gz rneovim-7c091348af0ea3e0f6e05b5f387a972b418bfd9b.tar.bz2 rneovim-7c091348af0ea3e0f6e05b5f387a972b418bfd9b.zip | |
test(api/ui_spec): fix flaky test (#40767)
The poke_eventloop() and screen:expect() sometimes don't run the test
runner's event loop long enough for the data to arrive at the reading
end of the pipe. Use a screen:expect_unchanged() so that the event loop
can run a bit longer.
FAILED ...ovim/build/Xtest_xdg_api/test/functional/api/ui_spec.lua @ 105: nvim_ui_send works with stdout_tty
Expected values to be equal.
Expected:
"\27]11;?\7Hello world"
Actual:
"\27]11;?\7"
stack traceback:
...ovim/build/Xtest_xdg_api/test/functional/api/ui_spec.lua:138: in function <...ovim/build/Xtest_xdg_api/test/functional/api/ui_spec.lua:105>
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions