diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 17:06:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 17:06:47 +0800 |
commit | c54592bfdacf08823a03d5aa251f49b906f3157d (patch) | |
tree | ca8613c5666bbda90d282270a947ae27c1f9c230 /test | |
parent | d9e9dc3a06b78d3d1548757348788454f62ea3dc (diff) | |
download | rneovim-c54592bfdacf08823a03d5aa251f49b906f3157d.tar.gz rneovim-c54592bfdacf08823a03d5aa251f49b906f3157d.tar.bz2 rneovim-c54592bfdacf08823a03d5aa251f49b906f3157d.zip |
vim-patch:9.0.0621: filetype test leaves file behind (#23125)
Problem: Filetype test leaves file behind.
Solution: Add deferred delete flag to writefile(). (Dominique Pellé,
closes vim/vim#11249)
https://github.com/vim/vim/commit/fc06cda8379031890ee8852cdca61eb8af8e1ba2
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 4f8181a41e..20c33d4dc4 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -1290,7 +1290,7 @@ endfunc func Test_m_file() filetype on - call writefile(['looks like Matlab'], 'Xfile.m') + call writefile(['looks like Matlab'], 'Xfile.m', 'D') split Xfile.m call assert_equal('matlab', &filetype) bwipe! |