aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/cmd_map_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-03-14 17:12:35 +0800
committerGitHub <noreply@github.com>2025-03-14 09:12:35 +0000
commita25ce5762de712e67db5c3dc0f2537894d5a4420 (patch)
treea0df656f9d1f35eb7387f28dbcb2710eaafabb0c /test/functional/ex_cmds/cmd_map_spec.lua
parent4a5585da7e35a32b1da988d4fc39496d5510e3ae (diff)
downloadrneovim-a25ce5762de712e67db5c3dc0f2537894d5a4420.tar.gz
rneovim-a25ce5762de712e67db5c3dc0f2537894d5a4420.tar.bz2
rneovim-a25ce5762de712e67db5c3dc0f2537894d5a4420.zip
test: do not dedent() in feed() (#32884)
Most callers of feed() do not expect feed() to dedent. Now use a literal space in tests where it looks better.
Diffstat (limited to 'test/functional/ex_cmds/cmd_map_spec.lua')
-rw-r--r--test/functional/ex_cmds/cmd_map_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ex_cmds/cmd_map_spec.lua b/test/functional/ex_cmds/cmd_map_spec.lua
index 17156e483b..d63182109d 100644
--- a/test/functional/ex_cmds/cmd_map_spec.lua
+++ b/test/functional/ex_cmds/cmd_map_spec.lua
@@ -574,7 +574,7 @@ describe('mappings with <Cmd>', function()
eq('i', eval('mode(1)'))
-- also works as part of abbreviation
- feed('<space>foo ')
+ feed(' foo ')
screen:expect([[
in bar ^deed some short little lines |
of stuff test text |