summaryrefslogtreecommitdiff
path: root/src/testdir/test_quickfix.vim
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-11-21 11:36:04 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-21 11:36:04 +0000
commit923dce2b07ff185c0ef661f3eca47bc17655f01b (patch)
tree6bd0b7aea8a22002a85a88effe5ca5bf18c7b17a /src/testdir/test_quickfix.vim
parent2c23670300b18f2f799d0602ff5225caa55b0d67 (diff)
downloadvim-git-923dce2b07ff185c0ef661f3eca47bc17655f01b.tar.gz
patch 8.2.3637: typos in test filesv8.2.3637
Problem: Typos in test files. Solution: Correct the typos. (Dominique Pellé, closes #9175)
Diffstat (limited to 'src/testdir/test_quickfix.vim')
-rw-r--r--src/testdir/test_quickfix.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim
index 3b7a4ecb9..7bf453fa3 100644
--- a/src/testdir/test_quickfix.vim
+++ b/src/testdir/test_quickfix.vim
@@ -2865,7 +2865,7 @@ func XvimgrepTests(cchar)
call writefile(['Editor:VIM vim',
\ 'Editor:Emacs EmAcS',
\ 'Editor:Notepad NOTEPAD'], 'Xtestfile1')
- call writefile(['Linux', 'MacOS', 'MS-Windows'], 'Xtestfile2')
+ call writefile(['Linux', 'macOS', 'MS-Windows'], 'Xtestfile2')
" Error cases
call assert_fails('Xvimgrep /abc *', 'E682:')
@@ -2879,7 +2879,7 @@ func XvimgrepTests(cchar)
Xexpr ""
Xvimgrepadd Notepad Xtestfile1
- Xvimgrepadd MacOS Xtestfile2
+ Xvimgrepadd macOS Xtestfile2
let l = g:Xgetlist()
call assert_equal(2, len(l))
call assert_equal('Editor:Notepad NOTEPAD', l[0].text)
@@ -4126,7 +4126,7 @@ endfunc
func Test_shorten_fname()
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'))
@@ -4135,7 +4135,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