1
0
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:
Bram Moolenaar 2022-08-24 17:46:12 +01:00
parent 5214b29461
commit 7ea9fcb48d
2 changed files with 7 additions and 0 deletions

View File

@ -2942,6 +2942,11 @@ def Test_vim9_import_symlink()
assert_equal(1, len(infoTo))
assert_equal(1, len(infoFrom))
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:resultValue

View File

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