aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_usercommands.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-26 21:34:18 +0800
committerGitHub <noreply@github.com>2022-10-26 21:34:18 +0800
commitc00e711d5a860fb019f594d164b4327d942313f8 (patch)
tree6b88d5ab645201a103cad3a67a98eadb07e6e5b4 /src/nvim/testdir/test_usercommands.vim
parentd60fa43466eaf59999e39860ce6d0ce2fa2cfb36 (diff)
parent46a54dd6a03f51ba08142abe0aa5710705917987 (diff)
downloadrneovim-c00e711d5a860fb019f594d164b4327d942313f8.tar.gz
rneovim-c00e711d5a860fb019f594d164b4327d942313f8.tar.bz2
rneovim-c00e711d5a860fb019f594d164b4327d942313f8.zip
Merge pull request #20814 from zeertzjq/vim-8.2.0610
vim-patch:8.2.{0610,0619,1852}
Diffstat (limited to 'src/nvim/testdir/test_usercommands.vim')
-rw-r--r--src/nvim/testdir/test_usercommands.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/testdir/test_usercommands.vim b/src/nvim/testdir/test_usercommands.vim
index a3070d6517..5b8b384bae 100644
--- a/src/nvim/testdir/test_usercommands.vim
+++ b/src/nvim/testdir/test_usercommands.vim
@@ -623,17 +623,17 @@ func Test_usercmd_custom()
return "a\nb\n"
endfunc
command -nargs=* -complete=customlist,T1 TCmd1
- call feedkeys(":T1 \<C-A>\<C-B>\"\<CR>", 'xt')
- call assert_equal('"T1 ', @:)
+ call feedkeys(":TCmd1 \<C-A>\<C-B>\"\<CR>", 'xt')
+ call assert_equal('"TCmd1 ', @:)
delcommand TCmd1
delfunc T1
func T2(a, c, p)
- return ['a', 'b', 'c']
+ return {}
endfunc
command -nargs=* -complete=customlist,T2 TCmd2
- call feedkeys(":T2 \<C-A>\<C-B>\"\<CR>", 'xt')
- call assert_equal('"T2 ', @:)
+ call feedkeys(":TCmd2 \<C-A>\<C-B>\"\<CR>", 'xt')
+ call assert_equal('"TCmd2 ', @:)
delcommand TCmd2
delfunc T2
endfunc