patch 8.2.3637: typos in test files
Problem: Typos in test files.
Solution: Correct the typos. (Dominique Pellé, closes #9175)
diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim
index 3b7a4ec..7bf453f 100644
--- a/src/testdir/test_quickfix.vim
+++ b/src/testdir/test_quickfix.vim
@@ -2865,7 +2865,7 @@
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 @@
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 @@
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 @@
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