Problem: Vim9: import test fails on MS-Windows.
Solution: Ignore case. Adjust test to avoid name that only differs in case.
NULL, TRUE) == -1)
{
*p = cc;
- return FAIL;
+ return NULL;
}
*p = cc;
}
type_T *type;
// Found script from "import {name} as name", script item name must
- // follow.
+ // follow. "rettv->vval.v_number" has the script ID.
if (**arg != '.')
{
if (verbose)
if (p == NULL)
return NULL;
- prefix = vim_strsave(p);
+ prefix = strlow_save(p);
if (prefix == NULL)
return NULL;
g:result = 'other'
enddef
END
- writefile(lines, 'Xdir/autoload/other.vim')
+ writefile(lines, 'Xdir/autoload/another.vim')
lines =<< trim END
vim9script
- import autoload 'other.vim'
- call other.Getother()
+ import autoload 'another.vim'
+ call another.Getother()
assert_equal('other', g:result)
END
CheckScriptSuccess(lines)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4069,
/**/
4068,
/**/