Patch 9.0.1654 (after 9.0.1653)
Problem:    MS-Windows: test for default 'viewdir' fails.
Solution:   Escape the pattern.
Files:      src/testdir/test_mksession.vim


*** ../vim-9.0.1653/src/testdir/test_mksession.vim      2023-06-23 
22:22:55.961061401 +0100
--- src/testdir/test_mksession.vim      2023-06-23 22:56:04.582810455 +0100
***************
*** 1265,1271 ****
  " Test default 'viewdir' value
  func Test_mkview_default_home()
    if has('win32')
!     call assert_match('^' .. $ORIGHOME .. '/vimfiles', &viewdir)
    elseif has('unix')
      call assert_match('^' .. $ORIGHOME .. '/.vim', &viewdir)
    elseif has('amiga')
--- 1265,1272 ----
  " Test default 'viewdir' value
  func Test_mkview_default_home()
    if has('win32')
!     " use escape() to handle backslash path separators
!     call assert_match('^' .. escape($ORIGHOME, '\') .. '/vimfiles', &viewdir)
    elseif has('unix')
      call assert_match('^' .. $ORIGHOME .. '/.vim', &viewdir)
    elseif has('amiga')
*** ../vim-9.0.1653/src/version.c       2023-06-23 22:22:55.965061399 +0100
--- src/version.c       2023-06-23 22:43:11.033488000 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1654,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
220. Your wife asks for sex and you tell her where to find you on IRC.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230623215727.5D8981C054C%40moolenaar.net.

Raspunde prin e-mail lui