summaryrefslogtreecommitdiff
path: root/src/testdir/test_packadd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-12 18:50:36 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-12 18:50:36 +0200
commit6d91bcb4d23b5c6a0be72c384beaf385e2d9d606 (patch)
tree0f4129e5f6e049ce5313520239de270cd9389580 /src/testdir/test_packadd.vim
parentc3d6e8a46a8fc5de622e8df9dbd25edd03e00c5b (diff)
downloadvim-git-6d91bcb4d23b5c6a0be72c384beaf385e2d9d606.tar.gz
patch 8.2.1432: various inconsistencies in test filesv8.2.1432
Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
Diffstat (limited to 'src/testdir/test_packadd.vim')
-rw-r--r--src/testdir/test_packadd.vim9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/testdir/test_packadd.vim b/src/testdir/test_packadd.vim
index fcb8b8033..d7a38daf3 100644
--- a/src/testdir/test_packadd.vim
+++ b/src/testdir/test_packadd.vim
@@ -1,5 +1,6 @@
" Tests for 'packpath' and :packadd
+source check.vim
func SetUp()
let s:topdir = getcwd() . '/Xdir'
@@ -115,9 +116,7 @@ func Test_packadd_noload()
endfunc
func Test_packadd_symlink_dir()
- if !has('unix')
- return
- endif
+ CheckUnix
let top2_dir = s:topdir . '/Xdir2'
let real_dir = s:topdir . '/Xsym'
call mkdir(real_dir, 'p')
@@ -150,9 +149,7 @@ func Test_packadd_symlink_dir()
endfunc
func Test_packadd_symlink_dir2()
- if !has('unix')
- return
- endif
+ CheckUnix
let top2_dir = s:topdir . '/Xdir2'
let real_dir = s:topdir . '/Xsym/pack'
call mkdir(top2_dir, 'p')