aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/cursor_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-08-27 16:02:22 +0200
committerGitHub <noreply@github.com>2018-08-27 16:02:22 +0200
commitdee0d7f4e9b8a681cf4f3761d886081f3b851b7a (patch)
tree241711e8f052f02b0e465a42f6d47af302c8743b /test/functional/ui/cursor_spec.lua
parenta8b4d76a0a2c59a3a368932ae111265c15b8dccb (diff)
parent3d88287e3016aacae64e2ddcd11a37e024557e45 (diff)
downloadrneovim-dee0d7f4e9b8a681cf4f3761d886081f3b851b7a.tar.gz
rneovim-dee0d7f4e9b8a681cf4f3761d886081f3b851b7a.tar.bz2
rneovim-dee0d7f4e9b8a681cf4f3761d886081f3b851b7a.zip
Merge pull request #8891 from bfredl/keyexpect
use keyword args for screen:expect{...} + hl fixup for ext_cmdline
Diffstat (limited to 'test/functional/ui/cursor_spec.lua')
-rw-r--r--test/functional/ui/cursor_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/cursor_spec.lua b/test/functional/ui/cursor_spec.lua
index d1cddbe06a..3e0370db14 100644
--- a/test/functional/ui/cursor_spec.lua
+++ b/test/functional/ui/cursor_spec.lua
@@ -188,15 +188,15 @@ describe('ui/cursor', function()
-- Event is published ONLY if the cursor style changed.
screen._mode_info = nil
command("echo 'test'")
- screen:expect([[
+ screen:expect{grid=[[
^ |
~ |
~ |
~ |
test |
- ]], nil, nil, function()
+ ]], condition=function()
eq(nil, screen._mode_info)
- end)
+ end}
-- Change the cursor style.
helpers.command('hi Cursor guibg=DarkGray')