0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 8.2.3130: Vim9: import test fails

Problem:    Vim9: import test fails.
Solution:   Rename directory back to "import", use "p" to avoid an error when
            the directory already exists.
This commit is contained in:
Bram Moolenaar
2021-07-08 22:02:11 +02:00
parent c967d57aa9
commit b885a7c72c
2 changed files with 5 additions and 3 deletions

View File

@@ -1955,8 +1955,8 @@ def Test_import_rtp()
'g:imported_rtp = exported',
]
writefile(import_lines, 'Ximport_rtp.vim')
mkdir('Ximport')
writefile(s:export_script_lines, 'Ximport/Xexport_rtp.vim')
mkdir('import', 'p')
writefile(s:export_script_lines, 'import/Xexport_rtp.vim')
var save_rtp = &rtp
&rtp = getcwd()
@@ -1968,7 +1968,7 @@ def Test_import_rtp()
Undo_export_script_lines()
unlet g:imported_rtp
delete('Ximport_rtp.vim')
delete('Ximport', 'rf')
delete('import', 'rf')
enddef
def Test_import_compile_error()

View File

@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3130,
/**/
3129,
/**/