aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/old/testdir/test_swap.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_swap.vim b/test/old/testdir/test_swap.vim
index 7c84c47337..8a1b3ce133 100644
--- a/test/old/testdir/test_swap.vim
+++ b/test/old/testdir/test_swap.vim
@@ -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&