diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-04 17:26:40 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-04 17:26:40 -0700 |
commit | 93deb1a062bd22d62f2003284f4e38abc8422a29 (patch) | |
tree | a6bad274897c5f19d37f3a86db33388ef4b4d1bd /test/functional/eval/api_functions_spec.lua | |
parent | 632ee8d2ed6e307cc4d9ca2cf9e3ba0531a8af51 (diff) | |
download | rneovim-93deb1a062bd22d62f2003284f4e38abc8422a29.tar.gz rneovim-93deb1a062bd22d62f2003284f4e38abc8422a29.tar.bz2 rneovim-93deb1a062bd22d62f2003284f4e38abc8422a29.zip |
test/wildmode_spec: fix flaky test
a00eb23c27da fixed one race, but not this one:
[ ERROR ] test/functional/ui/wildmode_spec.lua @ 84: 'wildmenu' is preserved during :terminal activity
test/functional/ui/screen.lua:587: Row 1 did not match.
Expected:
|* |
| |
| |
|define jump list > |
|:sign define^ |
Actual:
|*0: !terminal_output! |
| |
| |
|define jump list > |
|:sign define^ |
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.
stack traceback:
test/functional/ui/screen.lua:587: in function '_wait'
test/functional/ui/screen.lua:370: in function 'expect'
test/functional/ui/wildmode_spec.lua:22: in function 'expect_stay_unchanged'
test/functional/ui/wildmode_spec.lua:92: in function <test/functional/ui/wildmode_spec.lua:84>
Diffstat (limited to 'test/functional/eval/api_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions