Skip to content

Commit b5efce0

Browse files
zeertzjqchrisbra
authored andcommitted
Fix a few typos in tests
closes: #19871 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent e551e71 commit b5efce0

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

runtime/doc/change.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+
*change.txt* For Vim version 9.2. Last change: 2026 Mar 31
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1157,9 +1157,9 @@ inside of strings can change! Also see 'softtabstop' option. >
11571157
current line).
11581158

11591159
*:ip* *:iput*
1160-
:[line]ip[ut] [x] like |:put|, but adjust indent to the current line
1160+
:[line]ip[ut] [x] Like |:put|, but adjust indent to the current line.
11611161

1162-
:[line]ip[ut]! [x] like |:put|!, but adjust indent to the current line
1162+
:[line]ip[ut]! [x] Like |:put|!, but adjust indent to the current line.
11631163

11641164
["x]]p or *]p* *]<MiddleMouse>*
11651165
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.

src/testdir/test_clipmethod.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ func Test_clipreset_switches()
124124
" hang.
125125

126126
" This will only happen for commands given from the command line, which
127-
" is why we cannot just directly call Vim or use the actual Vim instance thats
128-
" doing all the testing, since main_loop() is never executed.
127+
" is why we cannot just directly call Vim or use the actual Vim instance
128+
" that's doing all the testing, since main_loop() is never executed.
129129

130130
" Therefore we should start a separate Vim instance and communicate with it
131131
" remotely, so we can execute the actual testing stuff with main_loop()

src/testdir/test_eval_stuff.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ func Test_clipboard_provider_no_unamedplus()
964964
set clipmethod&
965965
endfunc
966966

967-
" Same as Test_clipboard_provider_registers() but do it when +clipboard isnt
967+
" Same as Test_clipboard_provider_registers() but do it when +clipboard isn't
968968
" enabled.
969969
func Test_clipboard_provider_no_clipboard()
970970
CheckFeature clipboard_provider

src/testdir/test_highlight.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ func Test_winhighlight()
14311431

14321432
call VerifyScreenDump(buf, 'Test_winhighlight_10', {})
14331433

1434-
" Make last focused window the other window, which should have no hightlight
1434+
" Make last focused window the other window, which should have no highlight
14351435
" in tabline.
14361436
call term_sendkeys(buf, "\<Esc>:tabn 1\<CR>\<Esc>:wincmd h\<CR>\<Esc>:tabn 3\<CR>")
14371437
call TermWait(buf)
@@ -1462,7 +1462,7 @@ func Test_winhighlight()
14621462

14631463
call VerifyScreenDump(buf, 'Test_winhighlight_14', {})
14641464

1465-
" Check that overridding Normal group maps to HLF_WIN in 'highlight'.
1465+
" Check that overriding Normal group maps to HLF_WIN in 'highlight'.
14661466
call term_sendkeys(buf, "\<Esc>:setlocal whl=Normal:ErrorMsg\<CR>")
14671467
call TermWait(buf)
14681468

src/testdir/test_ins_complete.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3803,7 +3803,7 @@ func Test_complete_fuzzy_collect()
38033803
call feedkeys("Gofuzzy\<C-X>\<C-N>\<C-N>\<C-N>\<C-N>\<CR>\<Esc>0", 'tx!')
38043804
call assert_equal('completefuzzycollect', getline(line('.') - 1))
38053805

3806-
" keywords in 'dictonary'
3806+
" keywords in 'dictionary'
38073807
call writefile(['hello', 'think'], 'Xtest_dict.txt', 'D')
38083808
set dict=Xtest_dict.txt
38093809
call feedkeys("Sh\<C-X>\<C-K>\<C-N>\<CR>\<Esc>0", 'tx!')
@@ -3821,7 +3821,7 @@ func Test_complete_fuzzy_collect()
38213821
call assert_equal('fuzzycollect', getline('.'))
38223822

38233823
" when 'fuzzy' is not set, and 'infercase' and 'ignorecase' are set, then
3824-
" uppercase completes from lowercase words in dictonary
3824+
" uppercase completes from lowercase words in dictionary
38253825
set completeopt&
38263826
set infercase ignorecase
38273827
call writefile(['hello'], 'Xtest_case.txt', 'D')

src/testdir/test_plugin_netrw.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ func Test_netrw_check_UNC_paths()
332332
call assert_equal(
333333
\ path,
334334
\ Test_NetrwFile(path),
335-
\ $"UNC path: {path} missinterpreted")
335+
\ $"UNC path: {path} misinterpreted")
336336
endfor
337337

338338
endfunction

src/testdir/test_signs.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ func Test_sign()
165165

166166
sign define Sign5 text=X\ linehl=Comment
167167
sign undefine Sign5
168-
" The use of execute in the next line is just to ensure the space for
169-
" the text value is obvious and does not get accidently deleted.
168+
" The use of :execute in the next line is just to ensure the space for
169+
" the text value is obvious and does not get accidentally deleted.
170170
execute "sign define Sign5 linehl=Comment text=X\ "
171171
sign undefine Sign5
172172

src/testdir/test_vimscript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7689,7 +7689,7 @@ func Test_catch_pattern_trailing_chars()
76897689
bw!
76907690
endfunc
76917691

7692-
" Test for long gerneric type name {{{1
7692+
" Test for long generic type name {{{1
76937693
func Test_function_long_generic_name()
76947694
func TestFunc()
76957695
return

0 commit comments

Comments
 (0)