aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/writefile_spec.lua
diff options
context:
space:
mode:
authorHirokazu Hata <h-michael@users.noreply.github.com>2016-07-25 21:12:24 +0900
committerJustin M. Keyes <justinkz@gmail.com>2016-07-25 08:12:24 -0400
commitfbb2cd791d0c79a52bd7fcf9e3a569fa9d306b6a (patch)
tree428dc3d00a8a965a5a8754dbdb726cfe08eae5d7 /test/functional/legacy/writefile_spec.lua
parent2bb4c43f2faf043f828cf98c1354ab3a2b380fa4 (diff)
downloadrneovim-fbb2cd791d0c79a52bd7fcf9e3a569fa9d306b6a.tar.gz
rneovim-fbb2cd791d0c79a52bd7fcf9e3a569fa9d306b6a.tar.bz2
rneovim-fbb2cd791d0c79a52bd7fcf9e3a569fa9d306b6a.zip
vim-patch:7.4.1179 (#5112)
Problem: test_writefile and test_viml do not delete the tempfile. Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript(). https://github.com/vim/vim/commit/f4f79b84a5595c511f6fdbe4e3e1d188d97879a0
Diffstat (limited to 'test/functional/legacy/writefile_spec.lua')
-rw-r--r--test/functional/legacy/writefile_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/legacy/writefile_spec.lua b/test/functional/legacy/writefile_spec.lua
index f096aa23b9..765d373b82 100644
--- a/test/functional/legacy/writefile_spec.lua
+++ b/test/functional/legacy/writefile_spec.lua
@@ -17,6 +17,7 @@ describe('writefile', function()
execute('bwipeout!')
execute('$put =readfile(f)')
execute('1 delete _')
+ execute('call delete(f)')
-- Assert buffer contents.
expect([[