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:
@@ -1955,8 +1955,8 @@ def Test_import_rtp()
|
|||||||
'g:imported_rtp = exported',
|
'g:imported_rtp = exported',
|
||||||
]
|
]
|
||||||
writefile(import_lines, 'Ximport_rtp.vim')
|
writefile(import_lines, 'Ximport_rtp.vim')
|
||||||
mkdir('Ximport')
|
mkdir('import', 'p')
|
||||||
writefile(s:export_script_lines, 'Ximport/Xexport_rtp.vim')
|
writefile(s:export_script_lines, 'import/Xexport_rtp.vim')
|
||||||
|
|
||||||
var save_rtp = &rtp
|
var save_rtp = &rtp
|
||||||
&rtp = getcwd()
|
&rtp = getcwd()
|
||||||
@@ -1968,7 +1968,7 @@ def Test_import_rtp()
|
|||||||
Undo_export_script_lines()
|
Undo_export_script_lines()
|
||||||
unlet g:imported_rtp
|
unlet g:imported_rtp
|
||||||
delete('Ximport_rtp.vim')
|
delete('Ximport_rtp.vim')
|
||||||
delete('Ximport', 'rf')
|
delete('import', 'rf')
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
def Test_import_compile_error()
|
def Test_import_compile_error()
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3130,
|
||||||
/**/
|
/**/
|
||||||
3129,
|
3129,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user