summaryrefslogtreecommitdiff
path: root/src/testdir/test_packadd.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-25 15:04:22 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-25 15:04:22 +0000
commitb0d45ec67f4976318f199a7929ad3bcf93686fd0 (patch)
treef3e8c92e790367c6f4886da4cc48e94bff4fe2f8 /src/testdir/test_packadd.vim
parentb58201035060d223d4d795ef9c3bc6b171eee9af (diff)
downloadvim-git-b0d45ec67f4976318f199a7929ad3bcf93686fd0.tar.gz
patch 9.0.1242: code for :runtime completion is not consistentv9.0.1242
Problem: Code for :runtime completion is not consistent. Solution: Make code for cmdline expansion more consistent. (closes #11875)
Diffstat (limited to 'src/testdir/test_packadd.vim')
-rw-r--r--src/testdir/test_packadd.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_packadd.vim b/src/testdir/test_packadd.vim
index 332f0094c..89b781768 100644
--- a/src/testdir/test_packadd.vim
+++ b/src/testdir/test_packadd.vim
@@ -27,7 +27,7 @@ func Test_packadd()
let rtp_entries = split(rtp, ',')
for entry in rtp_entries
- if entry =~? '\<after\>'
+ if entry =~? '\<after\>'
let first_after_entry = entry
break
endif
@@ -183,7 +183,7 @@ func Test_packadd_symlink_dir2()
exec "silent !rmdir" top2_dir
endfunc
-" Check command-line completion for 'packadd'
+" Check command-line completion for :packadd
func Test_packadd_completion()
let optdir1 = &packpath . '/pack/mine/opt'
let optdir2 = &packpath . '/pack/candidate/opt'
@@ -271,9 +271,9 @@ func Test_helptags()
helptags ALL
- let tags1 = readfile(docdir1 . '/tags')
+ let tags1 = readfile(docdir1 . '/tags')
call assert_match('look-here', tags1[0])
- let tags2 = readfile(docdir2 . '/tags')
+ let tags2 = readfile(docdir2 . '/tags')
call assert_match('look-away', tags2[0])
call assert_fails('helptags abcxyz', 'E150:')