diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-27 23:36:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-27 23:36:21 +0200 |
commit | b58a4b938c4bc7e0499700859bd7abba9acc5b11 (patch) | |
tree | fab9f284d9abd5a183bfa79c271f467efa28960c /src/testdir/test_startup.vim | |
parent | 72fcf07b0639b49be3305de141d777baa9c965a0 (diff) | |
download | vim-git-b58a4b938c4bc7e0499700859bd7abba9acc5b11.tar.gz |
patch 8.1.1413: error when the drive of the swap file was disconnectedv8.1.1413
Problem: Error when the drive of the swap file was disconnected.
Solution: Try closing and re-opening the swap file. (closes #4378)
Diffstat (limited to 'src/testdir/test_startup.vim')
-rw-r--r-- | src/testdir/test_startup.vim | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index 33257f79f..0ce8c81e6 100644 --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -288,24 +288,24 @@ func Test_q_arg() " Test with default argument '-q'. call assert_equal('errors.err', &errorfile) - call writefile(["../memfile.c:1482:5: error: expected ';' before '}' token"], 'errors.err') + call writefile(["../memfile.c:208:5: error: expected ';' before '}' token"], 'errors.err') if RunVim([], after, '-q') let lines = readfile('Xtestout') call assert_equal(['errors.err', - \ '[0, 1482, 5, 0]', - \ source_file . "|1482 col 5| error: expected ';' before '}' token"], + \ '[0, 208, 5, 0]', + \ source_file . "|208 col 5| error: expected ';' before '}' token"], \ lines) endif call delete('Xtestout') call delete('errors.err') " Test with explicit argument '-q Xerrors' (with space). - call writefile(["../memfile.c:1482:5: error: expected ';' before '}' token"], 'Xerrors') + call writefile(["../memfile.c:208:5: error: expected ';' before '}' token"], 'Xerrors') if RunVim([], after, '-q Xerrors') let lines = readfile('Xtestout') call assert_equal(['Xerrors', - \ '[0, 1482, 5, 0]', - \ source_file . "|1482 col 5| error: expected ';' before '}' token"], + \ '[0, 208, 5, 0]', + \ source_file . "|208 col 5| error: expected ';' before '}' token"], \ lines) endif call delete('Xtestout') @@ -314,8 +314,8 @@ func Test_q_arg() if RunVim([], after, '-qXerrors') let lines = readfile('Xtestout') call assert_equal(['Xerrors', - \ '[0, 1482, 5, 0]', - \ source_file . "|1482 col 5| error: expected ';' before '}' token"], + \ '[0, 208, 5, 0]', + \ source_file . "|208 col 5| error: expected ';' before '}' token"], \ lines) endif |