aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-12-16 06:08:59 +0800
committerGitHub <noreply@github.com>2022-12-16 06:08:59 +0800
commita2bf0cef10926880b28d542887d2d3836e332929 (patch)
tree69a1323689b000b07faae35609bbeae37a1540f2 /src/nvim/testdir
parentef95174694d705e921ee0271d62badd45f00deaa (diff)
downloadrneovim-a2bf0cef10926880b28d542887d2d3836e332929.tar.gz
rneovim-a2bf0cef10926880b28d542887d2d3836e332929.tar.bz2
rneovim-a2bf0cef10926880b28d542887d2d3836e332929.zip
vim-patch:9.0.1062: some test function names do not match what they are doing (#21429)
Problem: Some test function names do not match what they are doing. Solution: Leave out user data for the test that is called "NoUserData". (closes vim/vim#11703) https://github.com/vim/vim/commit/4cd45f1408321905019614b40a2173fe0456a96d Nvim's tests already match function names. Add missing indent changes and a missing comment from patch 8.2.0084.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_ins_complete.vim42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/nvim/testdir/test_ins_complete.vim b/src/nvim/testdir/test_ins_complete.vim
index c1c78e9a8f..7a9392545e 100644
--- a/src/nvim/testdir/test_ins_complete.vim
+++ b/src/nvim/testdir/test_ins_complete.vim
@@ -191,17 +191,17 @@ func s:CompleteDone_CompleteFuncDict( findstart, base )
endif
return {
- \ 'words': [
- \ {
- \ 'word': 'aword',
- \ 'abbr': 'wrd',
- \ 'menu': 'extra text',
- \ 'info': 'words are cool',
- \ 'kind': 'W',
- \ 'user_data': ['one', 'two']
- \ }
- \ ]
- \ }
+ \ 'words': [
+ \ {
+ \ 'word': 'aword',
+ \ 'abbr': 'wrd',
+ \ 'menu': 'extra text',
+ \ 'info': 'words are cool',
+ \ 'kind': 'W',
+ \ 'user_data': ['one', 'two']
+ \ }
+ \ ]
+ \ }
endfunc
func s:CompleteDone_CheckCompletedItemNone()
@@ -261,16 +261,16 @@ func s:CompleteDone_CompleteFuncDictNoUserData(findstart, base)
endif
return {
- \ 'words': [
- \ {
- \ 'word': 'aword',
- \ 'abbr': 'wrd',
- \ 'menu': 'extra text',
- \ 'info': 'words are cool',
- \ 'kind': 'W'
- \ }
- \ ]
- \ }
+ \ 'words': [
+ \ {
+ \ 'word': 'aword',
+ \ 'abbr': 'wrd',
+ \ 'menu': 'extra text',
+ \ 'info': 'words are cool',
+ \ 'kind': 'W',
+ \ }
+ \ ]
+ \ }
endfunc
func s:CompleteDone_CheckCompletedItemDictNoUserData()