# HG changeset patch # User Bram Moolenaar # Date 1645812004 -3600 # Node ID 9c04fbcaacbcf5679574a653bfe2de4626d25ce2 # Parent ee0155d5dfd80492026f17449e8627bf8d8680e1 patch 8.2.4467: running filetype test leaves file behind Commit: https://github.com/vim/vim/commit/0e71b7d4ce3e1210150ce772e1af6956057a71ed Author: Bram Moolenaar Date: Fri Feb 25 17:45:04 2022 +0000 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 --- 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