Patch 9.0.0257 (after 9.0.0253)
Problem:    "->" in ":scriptnames" output not tested yet.
Solution:   Add a check.
Files:      src/testdir/test_vim9_import.vim


*** ../vim-9.0.0256/src/testdir/test_vim9_import.vim    2022-08-24 
16:30:30.690752449 +0100
--- src/testdir/test_vim9_import.vim    2022-08-24 17:42:39.287553902 +0100
***************
*** 2942,2947 ****
--- 2942,2952 ----
      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
*** ../vim-9.0.0256/src/version.c       2022-08-24 17:32:31.973668840 +0100
--- src/version.c       2022-08-24 17:45:44.933400552 +0100
***************
*** 733,734 ****
--- 733,736 ----
  {   /* Add new patch number below this line */
+ /**/
+     257,
  /**/

-- 
VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur
            and his knights seemed hopeless,  when, suddenly ... the animator
            suffered a fatal heart attack.
ANIMATOR:   Aaaaagh!
VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could
            continue.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220824164702.1081C1C0D30%40moolenaar.net.

Raspunde prin e-mail lui