]> granicus.if.org Git - vim/commitdiff
patch 9.0.0257: "->" in ":scriptnames" output not tested yet v9.0.0257
authorBram Moolenaar <Bram@vim.org>
Wed, 24 Aug 2022 16:46:12 +0000 (17:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 Aug 2022 16:46:12 +0000 (17:46 +0100)
Problem:    "->" in ":scriptnames" output not tested yet.
Solution:   Add a check.

src/testdir/test_vim9_import.vim
src/version.c

index 5c14b0527b681d731809688e27eae7d99176989f..d9b40d69702404d62a171d9227098bc10666e6f4 100644 (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
index ec2f360f19539c4ea3f4f42d3e01fc3618e7ee25..c46894d59d1c413546e96ae1f00fd075ce450dad 100644 (file)
@@ -731,6 +731,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    257,
 /**/
     256,
 /**/