aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/cmdline_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-10-22 14:53:45 +0200
committerGitHub <noreply@github.com>2018-10-22 14:53:45 +0200
commitf20427451e7f118d89d231cbab1faf8061369ddc (patch)
tree73553d90c1c010bcbe0e8cfef6edf97c61e671be /test/functional/ui/cmdline_spec.lua
parent565bbd1485a4c884dbfdb65b8b1c04a0c5da6b3e (diff)
parente598811e76a4ee6666b680545097fb06b0ba59aa (diff)
downloadrneovim-f20427451e7f118d89d231cbab1faf8061369ddc.tar.gz
rneovim-f20427451e7f118d89d231cbab1faf8061369ddc.tar.bz2
rneovim-f20427451e7f118d89d231cbab1faf8061369ddc.zip
Merge pull request #9143 from bfredl/nuclear
disable clearing almost everywhere, cleanup screen.c dead code
Diffstat (limited to 'test/functional/ui/cmdline_spec.lua')
-rw-r--r--test/functional/ui/cmdline_spec.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua
index e86414fe5f..0ebb62f78f 100644
--- a/test/functional/ui/cmdline_spec.lua
+++ b/test/functional/ui/cmdline_spec.lua
@@ -253,7 +253,7 @@ local function test_cmdline(linegrid)
]], cmdline=expectation}
-- erase information, so we check if it is retransmitted
- command("redraw!")
+ command("mode")
screen:expect{grid=[[
^ |
{1:~ }|
@@ -320,7 +320,7 @@ local function test_cmdline(linegrid)
{{' line1'}},
}}
- command("redraw!")
+ command("mode")
screen:expect{grid=[[
^ |
{1:~ }|
@@ -411,7 +411,7 @@ local function test_cmdline(linegrid)
pos = 4,
}}}
- command("redraw!")
+ command("mode")
screen:expect{grid=[[
|
{2:[No Name] }|
@@ -435,9 +435,9 @@ local function test_cmdline(linegrid)
feed("<c-c>")
screen:expect{grid=[[
- |
+ ^ |
{2:[No Name] }|
- {1::}make^ |
+ {1::}make |
{3:[Command Line] }|
|
]], cmdline={{
@@ -446,7 +446,6 @@ local function test_cmdline(linegrid)
pos = 4,
}}}
- screen.cmdline = {}
command("redraw!")
screen:expect{grid=[[
^ |