mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3543: swapname has double slash when 'directory' ends in it (#29862)
Problem: Swapname has double slash when 'directory' ends in double slash.
(Shane Smith)
Solution: Remove the superfluous slash. (closes vim/vim#8876)
8b0e62c93b
The test got lost in #29758...
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
cd1550818b
commit
41106168a2
@ -409,7 +409,7 @@ func Test_swap_symlink()
|
||||
|
||||
" Check that this also works when 'directory' ends with '//'
|
||||
edit Xtestlink
|
||||
call assert_match('Xtestfile\.swp$', s:swapname())
|
||||
call assert_match('Xswapdir[/\\]%.*testdir%Xtestfile\.swp$', s:swapname())
|
||||
bwipe!
|
||||
|
||||
set dir&
|
||||
|
Loading…
Reference in New Issue
Block a user