From: Bram Moolenaar Date: Wed, 24 Aug 2022 16:46:12 +0000 (+0100) Subject: patch 9.0.0257: "->" in ":scriptnames" output not tested yet X-Git-Tag: v9.0.0257 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ea9fcb48dcdb07c9eb960ace3cc625fe7c685b2;p=vim patch 9.0.0257: "->" in ":scriptnames" output not tested yet Problem: "->" in ":scriptnames" output not tested yet. Solution: Add a check. --- diff --git a/src/testdir/test_vim9_import.vim b/src/testdir/test_vim9_import.vim index 5c14b0527..d9b40d697 100644 --- a/src/testdir/test_vim9_import.vim +++ b/src/testdir/test_vim9_import.vim @@ -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 diff --git a/src/version.c b/src/version.c index ec2f360f1..c46894d59 100644 --- a/src/version.c +++ b/src/version.c @@ -731,6 +731,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 257, /**/ 256, /**/