diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-02 14:47:25 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-03 16:14:29 +0200 |
commit | a00eb23c27da7a0b79ea0030370074a1e383e457 (patch) | |
tree | b66fb1b1f9336572dcfc09e0735b627e1a76a592 | |
parent | 7233433f65e9f3550c72c9932eca390b5437f924 (diff) | |
download | rneovim-a00eb23c27da7a0b79ea0030370074a1e383e457.tar.gz rneovim-a00eb23c27da7a0b79ea0030370074a1e383e457.tar.bz2 rneovim-a00eb23c27da7a0b79ea0030370074a1e383e457.zip |
test/wildmode_spec: fix flaky test
[ 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:
|*:sign |
|*define place |
|*jump undefine |
|*list unplace |
|*:sign ^ |
Actual:
|*0: !terminal |
|* |
|*^ |
|*~ |
|* |
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:103: in function <test/functional\ui\wildmode_spec.lua:84>
-rw-r--r-- | test/functional/ui/wildmode_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ui/wildmode_spec.lua b/test/functional/ui/wildmode_spec.lua index 738466ae2b..2215c0c7d9 100644 --- a/test/functional/ui/wildmode_spec.lua +++ b/test/functional/ui/wildmode_spec.lua @@ -98,8 +98,8 @@ describe("'wildmenu'", function() ]]} -- cmdline CTRL-D display should also be preserved. - feed([[<C-\><C-N>]]) - feed([[:sign <C-D>]]) -- Invoke cmdline CTRL-D. + feed([[<C-U>]]) + feed([[sign <C-D>]]) -- Invoke cmdline CTRL-D. expect_stay_unchanged{grid=[[ :sign | define place | |