aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-13 09:06:31 +0800
committerGitHub <noreply@github.com>2022-07-13 09:06:31 +0800
commitc01690b1eaa4ad55cea3ec48a0b5381180ebe970 (patch)
tree2ddb5c2c74aa6edcb716fa8635b8250f266c5d3e /test/functional/legacy
parent39d51c833aed7e2ab946cd51bfff8d981269a8ef (diff)
downloadrneovim-c01690b1eaa4ad55cea3ec48a0b5381180ebe970.tar.gz
rneovim-c01690b1eaa4ad55cea3ec48a0b5381180ebe970.tar.bz2
rneovim-c01690b1eaa4ad55cea3ec48a0b5381180ebe970.zip
fix(exmode): flush messages before printing a line after pressing Enter (#19341)
Diffstat (limited to 'test/functional/legacy')
-rw-r--r--test/functional/legacy/ex_mode_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/ex_mode_spec.lua b/test/functional/legacy/ex_mode_spec.lua
index e4469d53ed..98f113bbd0 100644
--- a/test/functional/legacy/ex_mode_spec.lua
+++ b/test/functional/legacy/ex_mode_spec.lua
@@ -104,10 +104,10 @@ describe('Ex mode', function()
-- Pressing enter in ex mode should print the current line
feed('<CR>')
screen:expect([[
- {1: 1 }foo foo |
^^^y |
{1: 2 }foo foo |
^^^q |
+ {1: 2 }foo foo |
{1: 3 }foo foo |
:^ |
]])