changeset 29836:a8831ab29aee v9.0.0257

patch 9.0.0257: "->" in ":scriptnames" output not tested yet Commit: https://github.com/vim/vim/commit/7ea9fcb48dcdb07c9eb960ace3cc625fe7c685b2 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 24 17:46:12 2022 +0100 patch 9.0.0257: "->" in ":scriptnames" output not tested yet Problem: "->" in ":scriptnames" output not tested yet. Solution: Add a check.
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Aug 2022 19:00:02 +0200
parents df33a30395b3
children 39b229aacb37
files src/testdir/test_vim9_import.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/src/version.c
+++ b/src/version.c
@@ -732,6 +732,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    257,
+/**/
     256,
 /**/
     255,