aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-03-28 19:48:17 +0100
committerGitHub <noreply@github.com>2025-03-28 19:48:17 +0100
commitf4ee0ab2f1a15fe3bb88122fa162620e4af74b1d (patch)
treee183940e47ca2454f331a7da9548a47f9c984a34 /test/functional
parent5554fcc28683e5d182198158b293851a96f0d6a0 (diff)
downloadrneovim-f4ee0ab2f1a15fe3bb88122fa162620e4af74b1d.tar.gz
rneovim-f4ee0ab2f1a15fe3bb88122fa162620e4af74b1d.tar.bz2
rneovim-f4ee0ab2f1a15fe3bb88122fa162620e4af74b1d.zip
fix(cmdline): avoid empty @: register after :<CR> (#33126)
Fix https://github.com/neovim/neovim/issues/33125
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/ui/cmdline_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/ui/cmdline_spec.lua b/test/functional/ui/cmdline_spec.lua
index 067be3b8d4..fb44c2ab52 100644
--- a/test/functional/ui/cmdline_spec.lua
+++ b/test/functional/ui/cmdline_spec.lua
@@ -900,6 +900,7 @@ local function test_cmdline(linegrid)
cmdline_block = { { { 'if 1' } }, { { ' let x = 1' } } },
})
feed('<CR>')
+ eq('let x = 1', eval('@:'))
screen:expect({
grid = s1,
cmdline = {