aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-19 05:45:25 +0800
committerGitHub <noreply@github.com>2024-04-19 05:45:25 +0800
commit13ebfafc958c6feb4d908eed913c6dc3c6f05b4e (patch)
treee79a9eeebde952d737a791b2efb00d09692bdce9 /test/functional
parentc791aa8aaeb11e5cd24f8579ca6fbe0d59d0fc90 (diff)
downloadrneovim-13ebfafc958c6feb4d908eed913c6dc3c6f05b4e.tar.gz
rneovim-13ebfafc958c6feb4d908eed913c6dc3c6f05b4e.tar.bz2
rneovim-13ebfafc958c6feb4d908eed913c6dc3c6f05b4e.zip
vim-patch:9.1.0351: No test that completing a partial mapping clears 'showcmd' (#28406)
Problem: No test that completing a partial mapping clears 'showcmd'. Solution: Complete partial mappings in Test_showcmd_part_map() instead of using :echo. Adjust some comments (zeertzjq). closes: vim/vim#14580 https://github.com/vim/vim/commit/094c4390bdf3473fab122aa02883e63ce4e66cdb
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/mapping_spec.lua9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/functional/legacy/mapping_spec.lua b/test/functional/legacy/mapping_spec.lua
index 1078daec64..d0076a8a4a 100644
--- a/test/functional/legacy/mapping_spec.lua
+++ b/test/functional/legacy/mapping_spec.lua
@@ -214,8 +214,7 @@ describe('mapping', function()
{1:~ }|*4
%s |
]]):format(c))
- feed('<C-C>')
- command('echo')
+ feed('a')
screen:expect([[
^ |
{1:~ }|*4
@@ -229,8 +228,7 @@ describe('mapping', function()
{1:~ }|*4
^W |
]])
- feed('<C-C>')
- command('echo')
+ feed('a')
screen:expect([[
^ |
{1:~ }|*4
@@ -243,8 +241,7 @@ describe('mapping', function()
{1:~ }|*4
^W |
]])
- feed('<C-C>')
- command('echo')
+ feed('a')
screen:expect([[
^ |
{1:~ }|*4