From: Bram Moolenaar Date: Fri, 25 Feb 2022 17:45:04 +0000 (+0000) Subject: patch 8.2.4467: running filetype test leaves file behind X-Git-Tag: v8.2.4467 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e71b7d4ce3e1210150ce772e1af6956057a71ed;p=thirdparty%2Fvim.git patch 8.2.4467: running filetype test leaves file behind Problem: Running filetype test leaves file behind. Solution: Delete the file. --- diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 56288d78f0..0b65119ac4 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -862,6 +862,7 @@ func Test_d_file() call assert_equal('d', &filetype) bwipe! + " clean up filetype off call delete('Xfile.d') endfunc