aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-06 05:49:04 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-06-06 05:50:12 +0800
commitc235a063d6ead447f13076be50ddd9fae6223913 (patch)
tree00b2177cd236f1d66133afd622ad273a461a226d /test
parentd7651b27d54a87c5783c0a579af11da9a16a39aa (diff)
downloadrneovim-c235a063d6ead447f13076be50ddd9fae6223913.tar.gz
rneovim-c235a063d6ead447f13076be50ddd9fae6223913.tar.bz2
rneovim-c235a063d6ead447f13076be50ddd9fae6223913.zip
vim-patch:9.1.0467: typos in some comments
Problem: typos in some comments (after v9.1.0466) Solution: fix comments (zeertzjq) closes: vim/vim#14919 https://github.com/vim/vim/commit/551d8c372e49ed630fd95c6422a0ee62d00902c5
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_ins_complete.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/old/testdir/test_ins_complete.vim b/test/old/testdir/test_ins_complete.vim
index ba5e5acce9..573cd9729c 100644
--- a/test/old/testdir/test_ins_complete.vim
+++ b/test/old/testdir/test_ins_complete.vim
@@ -2529,6 +2529,7 @@ func Test_complete_fuzzy_match()
endif
return [#{word: "foo"}, #{word: "foobar"}, #{word: "fooBaz"}, #{word: "foobala"}]
endfunc
+
new
set omnifunc=Omni_test
set completeopt+=noinsert,fuzzy
@@ -2541,13 +2542,13 @@ func Test_complete_fuzzy_match()
" select next
call feedkeys("S\<C-x>\<C-o>fb\<C-n>", 'tx')
call assert_equal('foobar', g:word)
- " can circly select next
+ " can cyclically select next
call feedkeys("S\<C-x>\<C-o>fb\<C-n>\<C-n>\<C-n>", 'tx')
call assert_equal(v:null, g:word)
" select prev
call feedkeys("S\<C-x>\<C-o>fb\<C-p>", 'tx')
call assert_equal(v:null, g:word)
- " can circly select prev
+ " can cyclically select prev
call feedkeys("S\<C-x>\<C-o>fb\<C-p>\<C-p>\<C-p>\<C-p>", 'tx')
call assert_equal('fooBaz', g:word)
@@ -2566,6 +2567,8 @@ func Test_complete_fuzzy_match()
augroup! AAAAA_Group
delfunc OnPumChange
delfunc Omni_test
+ unlet g:item
+ unlet g:word
endfunc
" vim: shiftwidth=2 sts=2 expandtab nofoldenable