diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-30 14:26:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-30 14:26:58 +0200 |
commit | 660b85e39a48a9f2e3bd7e4d8b97d0a1b4842997 (patch) | |
tree | 46cbda71c0d5c384693235d7996c297f43bc3c95 /src/testdir/test_bufline.vim | |
parent | a5e6621aadadf78c7b344e93a4b328788076f14c (diff) | |
download | vim-git-660b85e39a48a9f2e3bd7e4d8b97d0a1b4842997.tar.gz |
patch 8.0.1162: shared script for tests cannot be included twicev8.0.1162
Problem: Shared script for tests cannot be included twice.
Solution: Include it where needed, it will "finish" if loaded again.
Diffstat (limited to 'src/testdir/test_bufline.vim')
-rw-r--r-- | src/testdir/test_bufline.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_bufline.vim b/src/testdir/test_bufline.vim index f57dd73ef..cc5c10e98 100644 --- a/src/testdir/test_bufline.vim +++ b/src/testdir/test_bufline.vim @@ -1,8 +1,6 @@ " Tests for setbufline() and getbufline() -if !exists('*GetVimCommand') - source shared.vim -endif +source shared.vim func Test_setbufline_getbufline() new |