summaryrefslogtreecommitdiffstats
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-18 19:49:56 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-18 19:49:56 +0100
commit8e7d6223f630690b72b387eaed704bf01f3f29d2 (patch)
treeb2e694bda1dbae28776d68f9babbb42d27e5c730 /src/testdir
parent3beaf9cd8efa3ba83e07187215004d140b89d529 (diff)
patch 8.2.2160: various typosv8.2.2160
Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_arglist.vim2
-rw-r--r--src/testdir/test_autocmd.vim2
-rw-r--r--src/testdir/test_debugger.vim2
-rw-r--r--src/testdir/test_increment.vim2
-rw-r--r--src/testdir/test_menu.vim2
-rw-r--r--src/testdir/test_netbeans.vim2
-rw-r--r--src/testdir/test_popupwin.vim2
-rw-r--r--src/testdir/test_python2.vim2
-rw-r--r--src/testdir/test_python3.vim2
-rw-r--r--src/testdir/test_sort.vim2
-rw-r--r--src/testdir/test_terminal2.vim4
-rw-r--r--src/testdir/test_terminal3.vim2
-rw-r--r--src/testdir/test_vartabs.vim2
-rw-r--r--src/testdir/test_vimscript.vim2
14 files changed, 15 insertions, 15 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim
index f45a0d4d0b..d6c369f0b0 100644
--- a/src/testdir/test_arglist.vim
+++ b/src/testdir/test_arglist.vim
@@ -524,7 +524,7 @@ func Test_argdo()
bwipe Xa.c Xb.c Xc.c
endfunc
-" Test for quiting Vim with unedited files in the argument list
+" Test for quitting Vim with unedited files in the argument list
func Test_quit_with_arglist()
CheckRunVimInTerminal
let buf = RunVimInTerminal('', {'rows': 6})
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 1873a7a3ac..f7963259b9 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2324,7 +2324,7 @@ func Test_autocmd_SafeState()
call writefile(lines, 'XSafeState')
let buf = RunVimInTerminal('-S XSafeState', #{rows: 6})
- " Sometimes we loop to handle a K_IGNORE, SafeState may be trigered once or
+ " Sometimes we loop to handle a K_IGNORE, SafeState may be triggered once or
" more often.
call term_sendkeys(buf, ":echo g:safe\<CR>")
call WaitForAssert({-> assert_match('^\d ', term_getline(buf, 6))}, 1000)
diff --git a/src/testdir/test_debugger.vim b/src/testdir/test_debugger.vim
index b3636408d8..029b9dbc9c 100644
--- a/src/testdir/test_debugger.vim
+++ b/src/testdir/test_debugger.vim
@@ -974,7 +974,7 @@ func Test_debug_backtrace_level()
\ 'line 1: let s:file1_var = ''file1'''
\ ], #{msec: 5000})
- " step throught the initial declarations
+ " step through the initial declarations
call RunDbgCmd(buf, 'step', [ 'line 2: let g:global_var = ''global''' ] )
call RunDbgCmd(buf, 'step', [ 'line 4: func s:File1Func( arg )' ] )
call RunDbgCmd(buf, 'echo s:file1_var', [ 'file1' ] )
diff --git a/src/testdir/test_increment.vim b/src/testdir/test_increment.vim
index abd85bed8a..1a631ec00f 100644
--- a/src/testdir/test_increment.vim
+++ b/src/testdir/test_increment.vim
@@ -284,7 +284,7 @@ endfunc
" 1
" 1
" 1
-" Expexted:
+" Expected:
" 1) g Ctrl-A on block selected indented lines
" 2
" 1
diff --git a/src/testdir/test_menu.vim b/src/testdir/test_menu.vim
index 033d428844..3df156011e 100644
--- a/src/testdir/test_menu.vim
+++ b/src/testdir/test_menu.vim
@@ -426,7 +426,7 @@ func Test_menu_special()
nunmenu Test.Sign
endfunc
-" Test for "icon=filname" in a toolbar
+" Test for "icon=filename" in a toolbar
func Test_menu_icon()
CheckFeature toolbar
nmenu icon=myicon.xpm Toolbar.Foo :echo "Foo"<CR>
diff --git a/src/testdir/test_netbeans.vim b/src/testdir/test_netbeans.vim
index d56b4683fb..d792ab97c6 100644
--- a/src/testdir/test_netbeans.vim
+++ b/src/testdir/test_netbeans.vim
@@ -839,7 +839,7 @@ func Test_nb_file_auth()
call s:run_server('Nb_file_auth')
endfunc
-" Test for quiting Vim with an open netbeans connection
+" Test for quitting Vim with an open netbeans connection
func Nb_quit_with_conn(port)
call delete("Xnetbeans")
call writefile([], "Xnetbeans")
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index a36e0f5997..b8641fe7d2 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -3308,7 +3308,7 @@ func Test_popupmenu_info_border()
call term_sendkeys(buf, "cc\<C-X>\<C-U>")
call VerifyScreenDump(buf, 'Test_popupwin_infopopup_6', {})
- " Hide the info popup, cycle trough buffers, make sure it didn't get
+ " Hide the info popup, cycle through buffers, make sure it didn't get
" deleted.
call term_sendkeys(buf, "\<Esc>")
call term_sendkeys(buf, ":set hidden\<CR>")
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim
index ba73c1232e..afefd10fed 100644
--- a/src/testdir/test_python2.vim
+++ b/src/testdir/test_python2.vim
@@ -3692,7 +3692,7 @@ func Test_python_import()
call assert_equal(expected, getline(2, '$'))
close!
- " Try to import a non-existing moudle with a dot (.)
+ " Try to import a non-existing module with a dot (.)
call AssertException(['py import a.b.c'], 'ImportError:')
endfunc
diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim
index 660ac461df..78fe5d4c42 100644
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -3882,7 +3882,7 @@ func Test_python3_import()
call assert_equal(expected, getline(2, '$'))
close!
- " Try to import a non-existing moudle with a dot (.)
+ " Try to import a non-existing module with a dot (.)
call AssertException(['py3 import a.b.c'], "No module named 'a'")
endfunc
diff --git a/src/testdir/test_sort.vim b/src/testdir/test_sort.vim
index 07f0d0c0af..39005627c1 100644
--- a/src/testdir/test_sort.vim
+++ b/src/testdir/test_sort.vim
@@ -1328,7 +1328,7 @@ func Test_sort_cmd()
endif
endfor
- " Needs atleast two lines for this test
+ " Needs at least two lines for this test
call setline(1, ['line1', 'line2'])
call assert_fails('sort no', 'E474:')
call assert_fails('sort c', 'E475:')
diff --git a/src/testdir/test_terminal2.vim b/src/testdir/test_terminal2.vim
index 64310f6254..4dc8350240 100644
--- a/src/testdir/test_terminal2.vim
+++ b/src/testdir/test_terminal2.vim
@@ -287,7 +287,7 @@ func Test_zz1_terminal_in_gui()
unlet g:job
endfunc
-" TODO: reenable when this no longer hangs on Travis
+" TODO: re-enable when this no longer hangs on Travis
"func Test_zz2_terminal_guioptions_bang()
" CheckGui
" set guioptions+=!
@@ -338,7 +338,7 @@ func Test_terminal_switch_mode()
let bnr = bufnr('$')
call WaitForAssert({-> assert_equal('running', term_getstatus(bnr))})
" In the GUI the first switch sometimes doesn't work. Switch twice to avoid
- " flakyness.
+ " flakiness.
call feedkeys("\<C-W>N", 'xt')
call feedkeys("A", 'xt')
call WaitForAssert({-> assert_equal('running', term_getstatus(bnr))})
diff --git a/src/testdir/test_terminal3.vim b/src/testdir/test_terminal3.vim
index db6ebc00fb..75882f1d1a 100644
--- a/src/testdir/test_terminal3.vim
+++ b/src/testdir/test_terminal3.vim
@@ -145,7 +145,7 @@ func Test_terminal_in_popup()
call delete('XtermPopup')
endfunc
-" Check a terminal in popup window uses the default mininum size.
+" Check a terminal in popup window uses the default minimum size.
func Test_terminal_in_popup_min_size()
CheckRunVimInTerminal
diff --git a/src/testdir/test_vartabs.vim b/src/testdir/test_vartabs.vim
index 7bdcde5eee..0ff1ea8ac9 100644
--- a/src/testdir/test_vartabs.vim
+++ b/src/testdir/test_vartabs.vim
@@ -97,7 +97,7 @@ func Test_vartabs()
.retab!
call assert_equal("\t\t\t\tl", getline(1))
- " Test for 'retab' with same vlaues as vts
+ " Test for 'retab' with same values as vts
set ts=8 sts=0 vts=5,3,6,2 vsts=
exe "norm! S l"
.retab! 5,3,6,2
diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim
index e50e4d5fa3..dba8c73fc8 100644
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -7374,7 +7374,7 @@ func Test_invalid_function_names()
endtry
call assert_equal(1, caught_e884)
- " function name folowed by #
+ " function name followed by #
let caught_e128 = 0
try
func! test2() "#