diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-06-04 06:07:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 06:07:20 +0800 |
| commit | e20c5fba2c77b7e7ea93363abc987d913e5f9f58 (patch) | |
| tree | f7ae4d4ce58e2ae5935f4d42266f3da1fccf848d /test/old/testdir/test_quickfix.vim | |
| parent | 5aa9906676f3ad040b0ccb75eb5fd560def1e0ec (diff) | |
| download | rneovim-e20c5fba2c77b7e7ea93363abc987d913e5f9f58.tar.gz rneovim-e20c5fba2c77b7e7ea93363abc987d913e5f9f58.tar.bz2 rneovim-e20c5fba2c77b7e7ea93363abc987d913e5f9f58.zip | |
vim-patch:partial:8.2.3637: typos in test files (#29172)
Problem: Typos in test files.
Solution: Correct the typos. (Dominique Pellé, closes vim/vim#9175)
https://github.com/vim/vim/commit/923dce2b07ff185c0ef661f3eca47bc17655f01b
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
Diffstat (limited to 'test/old/testdir/test_quickfix.vim')
| -rw-r--r-- | test/old/testdir/test_quickfix.vim | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/old/testdir/test_quickfix.vim b/test/old/testdir/test_quickfix.vim index a708cabc26..791186efe8 100644 --- a/test/old/testdir/test_quickfix.vim +++ b/test/old/testdir/test_quickfix.vim @@ -4353,11 +4353,9 @@ endfunc " Test for shortening/simplifying the file name when opening the " quickfix window or when displaying the quickfix list func Test_shorten_fname() - if !has('unix') - return - endif + CheckUnix %bwipe - " Create a quickfix list with a absolute path filename + " Create a quickfix list with an absolute path filename let fname = getcwd() . '/test_quickfix.vim' call setqflist([], ' ', {'lines':[fname . ":20:Line20"], 'efm':'%f:%l:%m'}) call assert_equal(fname, bufname('test_quickfix.vim')) @@ -4366,7 +4364,7 @@ func Test_shorten_fname() call assert_equal('test_quickfix.vim', bufname('test_quickfix.vim')) cclose %bwipe - " Create a quickfix list with a absolute path filename + " Create a quickfix list with an absolute path filename call setqflist([], ' ', {'lines':[fname . ":20:Line20"], 'efm':'%f:%l:%m'}) call assert_equal(fname, bufname('test_quickfix.vim')) " Displaying the quickfix list should simplify the file path |