aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-09 11:45:20 +0100
committerbfredl <bjorn.linse@gmail.com>2023-03-12 10:18:57 +0100
commit846a056744bf458d4376cd7638c94f7c82862046 (patch)
tree96121391a4fec3845248eab7571819c9ebbda1a6 /test/functional
parentd15abd1be4ae85b10174e3ee139d3b7605e87577 (diff)
downloadrneovim-846a056744bf458d4376cd7638c94f7c82862046.tar.gz
rneovim-846a056744bf458d4376cd7638c94f7c82862046.tar.bz2
rneovim-846a056744bf458d4376cd7638c94f7c82862046.zip
refactor(redraw): make cursor position redraw use the "redraw later" pattern
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/ex_cmds/map_spec.lua2
-rw-r--r--test/functional/ui/messages_spec.lua3
2 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/ex_cmds/map_spec.lua b/test/functional/ex_cmds/map_spec.lua
index ec912053b2..a197b81cc5 100644
--- a/test/functional/ex_cmds/map_spec.lua
+++ b/test/functional/ex_cmds/map_spec.lua
@@ -152,7 +152,7 @@ describe('Screen', function()
~ |
~ |
~ |
- > |
+ -- INSERT -- |
]])
end)
diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua
index 212d3aee7d..db45e80dae 100644
--- a/test/functional/ui/messages_spec.lua
+++ b/test/functional/ui/messages_spec.lua
@@ -474,8 +474,7 @@ describe('ui/ext_messages', function()
]], msg_history={{
content = {{ "stuff" }},
kind = "echomsg",
- }}, showmode={{ "-- INSERT --", 3 }},
- messages={{
+ }}, messages={{
content = {{ "Press ENTER or type command to continue", 4}},
kind = "return_prompt"
}}}