diff options
Diffstat (limited to 'src/testdir/test_swap.vim')
-rw-r--r-- | src/testdir/test_swap.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_swap.vim b/src/testdir/test_swap.vim index 8a6d81c5d..4bc73097c 100644 --- a/src/testdir/test_swap.vim +++ b/src/testdir/test_swap.vim @@ -417,7 +417,7 @@ func Test_swap_auto_delete() " swap file should be automatically deleted. bwipe! " change the process ID to avoid the "still running" warning - let swapfile_bytes[24] = 0x99 + let swapfile_bytes[24] = swapfile_bytes[24] + 1 call writefile(swapfile_bytes, swapfile_name) edit Xtest.scr " will end up using the same swap file after deleting the existing one @@ -433,7 +433,7 @@ func Test_swap_auto_delete() augroup END " change the host name - let swapfile_bytes[28 + 40] = 0x89 + let swapfile_bytes[28 + 40] = swapfile_bytes[28 + 40] + 2 call writefile(swapfile_bytes, swapfile_name) edit Xtest.scr call assert_equal(1, filereadable(swapfile_name)) |