aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/highlight_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-04-09 03:02:25 +0300
committerZyX <kp-pav@yandex.ru>2017-04-09 03:24:22 +0300
commitba7d8bf0c2139a11188990ca1eae01f6f583bd8a (patch)
treef9512f62a3620b63324f7b2711d9dc2dc5505680 /test/functional/terminal/highlight_spec.lua
parente0560a0f3fbdbc4934c54a9ebe512db86ff53cfb (diff)
downloadrneovim-ba7d8bf0c2139a11188990ca1eae01f6f583bd8a.tar.gz
rneovim-ba7d8bf0c2139a11188990ca1eae01f6f583bd8a.tar.bz2
rneovim-ba7d8bf0c2139a11188990ca1eae01f6f583bd8a.zip
functests: Fix terminal/highlight_spec
Diffstat (limited to 'test/functional/terminal/highlight_spec.lua')
-rw-r--r--test/functional/terminal/highlight_spec.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/terminal/highlight_spec.lua b/test/functional/terminal/highlight_spec.lua
index 62fabc559c..bb40770235 100644
--- a/test/functional/terminal/highlight_spec.lua
+++ b/test/functional/terminal/highlight_spec.lua
@@ -27,7 +27,8 @@ describe('terminal window highlighting', function()
[11] = {background = 11},
})
screen:attach({rgb=false})
- command('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert')
+ command('enew | call termopen(["'..nvim_dir..'/tty-test"])')
+ feed('i')
screen:expect([[
tty ready |
{10: } |
@@ -130,7 +131,8 @@ describe('terminal window highlighting with custom palette', function()
})
screen:attach({rgb=true})
nvim('set_var', 'terminal_color_3', '#123456')
- command('enew | call termopen(["'..nvim_dir..'/tty-test"]) | startinsert')
+ command('enew | call termopen(["'..nvim_dir..'/tty-test"])')
+ feed('i')
screen:expect([[
tty ready |
{7: } |