forked from aniani/vim
patch 9.0.0257: "->" in ":scriptnames" output not tested yet
Problem: "->" in ":scriptnames" output not tested yet. Solution: Add a check.
This commit is contained in:
parent
5214b29461
commit
7ea9fcb48d
@ -2942,6 +2942,11 @@ def Test_vim9_import_symlink()
|
|||||||
assert_equal(1, len(infoTo))
|
assert_equal(1, len(infoTo))
|
||||||
assert_equal(1, len(infoFrom))
|
assert_equal(1, len(infoFrom))
|
||||||
assert_equal(infoTo[0].sid, infoFrom[0].sourced)
|
assert_equal(infoTo[0].sid, infoFrom[0].sourced)
|
||||||
|
var output: string
|
||||||
|
redir => output
|
||||||
|
scriptnames
|
||||||
|
redir END
|
||||||
|
assert_match(infoFrom[0].sid .. '->' .. infoFrom[0].sourced .. '.*Xfrom', output)
|
||||||
|
|
||||||
unlet g:resultFunc
|
unlet g:resultFunc
|
||||||
unlet g:resultValue
|
unlet g:resultValue
|
||||||
|
@ -731,6 +731,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 */
|
||||||
|
/**/
|
||||||
|
257,
|
||||||
/**/
|
/**/
|
||||||
256,
|
256,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user