diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-06-26 14:49:15 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-10-15 20:13:11 +0200 |
commit | c8810a51a3a7ef1185b45c07d93f7e6769c5ab55 (patch) | |
tree | 55e62aa6c09a729c9c34bd5d4d4d40321f982376 /test/functional/viml/completion_spec.lua | |
parent | 8fd092f3ff15bf70f84ec0d716c5aaa2c7379fa1 (diff) | |
download | rneovim-c8810a51a3a7ef1185b45c07d93f7e6769c5ab55.tar.gz rneovim-c8810a51a3a7ef1185b45c07d93f7e6769c5ab55.tar.bz2 rneovim-c8810a51a3a7ef1185b45c07d93f7e6769c5ab55.zip |
tests: improve robustness of immediate successes in screen tests
Diffstat (limited to 'test/functional/viml/completion_spec.lua')
-rw-r--r-- | test/functional/viml/completion_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/viml/completion_spec.lua b/test/functional/viml/completion_spec.lua index 3222e5783d..70b4717c32 100644 --- a/test/functional/viml/completion_spec.lua +++ b/test/functional/viml/completion_spec.lua @@ -757,7 +757,7 @@ describe('completion', function() eval('1 + 1') -- popupmenu still visible - screen:expect([[ + screen:expect{grid=[[ foobar fooegg | fooegg^ | {1:foobar }{0: }| @@ -766,7 +766,7 @@ describe('completion', function() {0:~ }| {0:~ }| {3:-- Keyword completion (^N^P) }{4:match 1 of 2} | - ]]) + ]], unchanged=true} feed('<c-p>') -- Didn't restart completion: old matches still used |