diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-05 20:59:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-05 20:59:28 +0100 |
commit | fb094e14c19337de824d4e6710ca6a2617930ab0 (patch) | |
tree | 4738265336181b11c8f7bb6d5b7f41d92753a208 /src/testdir/test_ins_complete.vim | |
parent | 8fdb35a974d92c7d0267bc8988aa6af74ee6885d (diff) | |
download | vim-git-fb094e14c19337de824d4e6710ca6a2617930ab0.tar.gz |
patch 8.0.1271: still too many old style testsv8.0.1271
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes #2290)
Diffstat (limited to 'src/testdir/test_ins_complete.vim')
-rw-r--r-- | src/testdir/test_ins_complete.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_ins_complete.vim b/src/testdir/test_ins_complete.vim index d25267ff4..e57782fb8 100644 --- a/src/testdir/test_ins_complete.vim +++ b/src/testdir/test_ins_complete.vim @@ -2,6 +2,11 @@ " Test for insert expansion func Test_ins_complete() edit test_ins_complete.vim + " The files in the current directory interferes with the files + " used by this test. So use a separate directory for the test. + call mkdir('Xdir') + cd Xdir + set ff=unix call writefile(["test11\t36Gepeto\t/Tag/", \ "asd\ttest11file\t36G", @@ -89,6 +94,8 @@ func Test_ins_complete() call delete('Xtest11.two') call delete('Xtestdata') set cpt& cot& def& tags& tagbsearch& hidden& + cd .. + call delete('Xdir', 'rf') endfunc func Test_omni_dash() |