diff src/testdir/test_vim9_import.vim @ 27344:44e82999b4e1 v8.2.4200

patch 8.2.4200: some tests do not clean up properly Commit: https://github.com/vim/vim/commit/7e765a39b795d5331bf2d4927b41df7b78915af9 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Jan 24 11:40:37 2022 +0000 patch 8.2.4200: some tests do not clean up properly Problem: Some tests do not clean up properly. Solution: Delete created files. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9611)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 12:45:03 +0100
parents c62006deb5c1
children 9a9c34c84cd4
line wrap: on
line diff
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -757,6 +757,7 @@ def Run_Test_import_in_diffexpr()
   diffoff!
   bwipe!
   bwipe!
+  delete('Xdiffexpr')
 enddef
 
 def Test_import_in_patchexpr()
@@ -843,7 +844,7 @@ def Test_import_in_includeexpr()
   bwipe!
   bwipe!
   set includeexpr=
-  delete('Xinclude')
+  delete('Xinclude.vim')
   delete('Xthisfile')
 enddef
 
@@ -1927,7 +1928,7 @@ def Test_autoload_name_wring()
   writefile(lines, 'Xscriptname.vim')
   CheckScriptFailure(lines, 'E1263:')
 
-  delete('Xscriptname')
+  delete('Xscriptname.vim')
 enddef
 
 def Test_import_autoload_postponed()