diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-07 17:33:07 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-12 17:16:34 +0100 |
commit | 60dd76c7e29e75dee641f93483eb6e5c2afb28e4 (patch) | |
tree | 0786e3c4856398586c5c0aa20d05951575b47650 /src | |
parent | 1918638c673e5c081bf063617ae69facd82c30d9 (diff) | |
download | rneovim-60dd76c7e29e75dee641f93483eb6e5c2afb28e4.tar.gz rneovim-60dd76c7e29e75dee641f93483eb6e5c2afb28e4.tar.bz2 rneovim-60dd76c7e29e75dee641f93483eb6e5c2afb28e4.zip |
vim-patch:8.1.1638: running tests leaves some files behind
Problem: Running tests leaves some files behind.
Solution: Delete the files. (Ozaki Kiichi, closes vim/vim#4617)
https://github.com/vim/vim/commit/3940ec6d41a07f9abbfba7d4db6b49d3d8b43a9a
Required for v8.1.1888.
N/A patches for version.c:
vim-patch:8.1.1912: more functions can be used as methods
Problem: More functions can be used as methods.
Solution: Make channel and job functions usable as a method.
vim/vim@570497a
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_functions.vim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index 612b72cb62..2493cc2e27 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -1413,10 +1413,10 @@ func Test_bufadd_bufload() call assert_equal([''], getbufline(buf, 1, '$')) let curbuf = bufnr('') - call writefile(['some', 'text'], 'otherName') - let buf = bufadd('otherName') + call writefile(['some', 'text'], 'XotherName') + let buf = bufadd('XotherName') call assert_notequal(0, buf) - call assert_equal(1, bufexists('otherName')) + call assert_equal(1, bufexists('XotherName')) call assert_equal(0, getbufvar(buf, '&buflisted')) call assert_equal(0, bufloaded(buf)) call bufload(buf) @@ -1439,8 +1439,9 @@ func Test_bufadd_bufload() call assert_equal(0, bufexists(buf2)) bwipe someName - bwipe otherName + bwipe XotherName call assert_equal(0, bufexists('someName')) + call delete('XotherName') endfunc func Test_readdir() |