Mercurial > vim
annotate src/testdir/setup.vim @ 9577:e3b6a4a87684 v7.4.2066
commit https://github.com/vim/vim/commit/c1fb763184c8ae82300357867fa2070aa94366e9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 17 23:34:21 2016 +0200
patch 7.4.2066
Problem: getcompletion() not well tested.
Solution: Add more testing.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jul 2016 23:45:05 +0200 |
parents | f0201deac2a2 |
children | 4360b2b46125 |
rev | line source |
---|---|
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Common preparations for running tests. |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " Make sure 'runtimepath' does not include $HOME. |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 " Only when the +eval feature is present. |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 if 1 |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 " Make sure $HOME does not get read or written. |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 let $HOME = '/does/not/exist' |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 endif |
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 |