Patch 8.2.5083
Problem:    Autocmd test still fails on MS-Windows.
Solution:   Change backward to forward slashes.
Files:      src/testdir/test_autocmd.vim


*** ../vim-8.2.5082/src/testdir/test_autocmd.vim        2022-06-12 
22:33:28.581077113 +0100
--- src/testdir/test_autocmd.vim        2022-06-12 23:23:27.276820299 +0100
***************
*** 2108,2122 ****
    exe 'lcd ' .. fnameescape(s:dir_bar)
    call assert_equal(expected, s:li)
  
-   let save_shellslash = &shellslash
-   set shellslash
    exe 'cd ' .. s:dir_foo
    exe 'cd ' .. s:dir_bar
    autocmd! test_dirchanged DirChanged global let g:result = expand("<afile>")
    cd -
!   call assert_equal(s:dir_foo, g:result)
  
-   let &shellslash = save_shellslash
    call s:After_test_dirchanged()
  endfunc
  
--- 2108,2119 ----
    exe 'lcd ' .. fnameescape(s:dir_bar)
    call assert_equal(expected, s:li)
  
    exe 'cd ' .. s:dir_foo
    exe 'cd ' .. s:dir_bar
    autocmd! test_dirchanged DirChanged global let g:result = expand("<afile>")
    cd -
!   call assert_equal(s:dir_foo, substitute(g:result, '\\', '/', 'g'))
  
    call s:After_test_dirchanged()
  endfunc
  
*** ../vim-8.2.5082/src/version.c       2022-06-12 23:05:02.452989640 +0100
--- src/version.c       2022-06-12 23:25:31.792907825 +0100
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     5083,
  /**/

-- 
If an elephant is left tied to a parking meter, the parking fee has to be paid
just as it would for a vehicle.
                [real standing law in Florida, United States of America]

 /// 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/20220612222757.073611C1809%40moolenaar.net.

Raspunde prin e-mail lui