summaryrefslogtreecommitdiff
path: root/src/testdir/test_packadd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-27 00:55:04 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-27 00:55:04 +0200
commitcf1ba35fc2ebd41b9a7738bbd1f026f5311560aa (patch)
treec485902b799a521cf8675a11b8ab73a7745c86eb /src/testdir/test_packadd.vim
parent9ad89c6c4f89cd710d8244d8010b8b0ae30ba79d (diff)
downloadvim-git-cf1ba35fc2ebd41b9a7738bbd1f026f5311560aa.tar.gz
patch 8.0.1224: still interference between test functionsv8.0.1224
Problem: Still interference between test functions. Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a specific start context.
Diffstat (limited to 'src/testdir/test_packadd.vim')
-rw-r--r--src/testdir/test_packadd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_packadd.vim b/src/testdir/test_packadd.vim
index 66cbb4783..c83d4a876 100644
--- a/src/testdir/test_packadd.vim
+++ b/src/testdir/test_packadd.vim
@@ -2,7 +2,7 @@
func SetUp()
- let s:topdir = expand('%:h') . '/Xdir'
+ let s:topdir = getcwd() . '/Xdir'
exe 'set packpath=' . s:topdir
let s:plugdir = s:topdir . '/pack/mine/opt/mytest'
endfunc