comparison 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
comparison
equal deleted inserted replaced
27343:477e3f07cab2 27344:44e82999b4e1
755 redraw 755 redraw
756 756
757 diffoff! 757 diffoff!
758 bwipe! 758 bwipe!
759 bwipe! 759 bwipe!
760 delete('Xdiffexpr')
760 enddef 761 enddef
761 762
762 def Test_import_in_patchexpr() 763 def Test_import_in_patchexpr()
763 var lines =<< trim END 764 var lines =<< trim END
764 vim9script 765 vim9script
841 assert_equal('Xthisfile', expand('%')) 842 assert_equal('Xthisfile', expand('%'))
842 843
843 bwipe! 844 bwipe!
844 bwipe! 845 bwipe!
845 set includeexpr= 846 set includeexpr=
846 delete('Xinclude') 847 delete('Xinclude.vim')
847 delete('Xthisfile') 848 delete('Xthisfile')
848 enddef 849 enddef
849 850
850 def Test_import_in_indentexpr() 851 def Test_import_in_indentexpr()
851 var lines =<< trim END 852 var lines =<< trim END
1925 enddef 1926 enddef
1926 END 1927 END
1927 writefile(lines, 'Xscriptname.vim') 1928 writefile(lines, 'Xscriptname.vim')
1928 CheckScriptFailure(lines, 'E1263:') 1929 CheckScriptFailure(lines, 'E1263:')
1929 1930
1930 delete('Xscriptname') 1931 delete('Xscriptname.vim')
1931 enddef 1932 enddef
1932 1933
1933 def Test_import_autoload_postponed() 1934 def Test_import_autoload_postponed()
1934 mkdir('Xdir/autoload', 'p') 1935 mkdir('Xdir/autoload', 'p')
1935 var save_rtp = &rtp 1936 var save_rtp = &rtp