]> granicus.if.org Git - vim/commitdiff
patch 8.2.4467: running filetype test leaves file behind v8.2.4467
authorBram Moolenaar <Bram@vim.org>
Fri, 25 Feb 2022 17:45:04 +0000 (17:45 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 25 Feb 2022 17:45:04 +0000 (17:45 +0000)
Problem:    Running filetype test leaves file behind.
Solution:   Delete the file.

src/testdir/test_filetype.vim

index 56288d78f0eb87a98f280678d0eda8dd2f6b897f..0b65119ac42c3670e0f9c24011784ba9d17423ef 100644 (file)
@@ -862,6 +862,7 @@ func Test_d_file()
   call assert_equal('d', &filetype)
   bwipe!
 
+  " clean up
   filetype off
   call delete('Xfile.d')
 endfunc