diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-05 10:22:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 10:22:27 -0700 |
commit | 096212d52c6375c19c046d86a7178bae91e287fc (patch) | |
tree | 804cd9e5d38d84118696caf4277752bfe87590f9 /test/functional/lua | |
parent | 81eb0d36442ccd1dd577484cef8c3fbea2e6365e (diff) | |
parent | dd18cc4b403b0a8b3445f09cc9044cf82d8c503e (diff) | |
download | rneovim-096212d52c6375c19c046d86a7178bae91e287fc.tar.gz rneovim-096212d52c6375c19c046d86a7178bae91e287fc.tar.bz2 rneovim-096212d52c6375c19c046d86a7178bae91e287fc.zip |
test/wildmode_spec: fix flaky test (#10947)
* 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>
* fixup! test/wildmode_spec: fix flaky test
Diffstat (limited to 'test/functional/lua')
0 files changed, 0 insertions, 0 deletions