diff options
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_channel.vim | 4 | ||||
-rw-r--r-- | src/testdir/test_channel_lsp.py | 4 | ||||
-rw-r--r-- | src/testdir/test_cmdmods.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_expr.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_fold.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_langmap.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_map_functions.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_options.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_popupwin.vim | 4 | ||||
-rw-r--r-- | src/testdir/test_termcodes.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_textprop.vim | 8 | ||||
-rw-r--r-- | src/testdir/test_vim9_cmd.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_vim9_script.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_vimscript.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_visual.vim | 2 | ||||
-rw-r--r-- | src/testdir/test_winbar.vim | 8 | ||||
-rw-r--r-- | src/testdir/test_window_cmd.vim | 2 |
17 files changed, 26 insertions, 26 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim index a13b49f463..a99497d08e 100644 --- a/src/testdir/test_channel.vim +++ b/src/testdir/test_channel.vim @@ -2563,11 +2563,11 @@ func LspTests(port) " Test for using a one time callback function to process a response let g:lspOtMsgs = [] - let r = ch_sendexpr(ch, #{method: 'msg-specifc-cb', params: {}}, + let r = ch_sendexpr(ch, #{method: 'msg-specific-cb', params: {}}, \ #{callback: 'LspOtCb'}) call assert_equal(9, r.id) call assert_equal('alive', ch_evalexpr(ch, #{method: 'ping'}).result) - call assert_equal([#{id: 9, jsonrpc: '2.0', result: 'msg-specifc-cb'}], + call assert_equal([#{id: 9, jsonrpc: '2.0', result: 'msg-specific-cb'}], \ g:lspOtMsgs) " Test for generating a request message from the other end (server) diff --git a/src/testdir/test_channel_lsp.py b/src/testdir/test_channel_lsp.py index ea0fd1034a..2357452d7e 100644 --- a/src/testdir/test_channel_lsp.py +++ b/src/testdir/test_channel_lsp.py @@ -164,7 +164,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler): self.send_lsp_msg(payload['id'], 'msg-with-id') def do_msg_specific_cb(self, payload): - self.send_lsp_msg(payload['id'], 'msg-specifc-cb') + self.send_lsp_msg(payload['id'], 'msg-specific-cb') def do_server_req(self, payload): self.send_lsp_msg(201, {'method': 'checkhealth', 'params': {'a': 20}}) @@ -205,7 +205,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler): 'simple-notif': self.do_simple_notif, 'multi-notif': self.do_multi_notif, 'msg-with-id': self.do_msg_with_id, - 'msg-specifc-cb': self.do_msg_specific_cb, + 'msg-specific-cb': self.do_msg_specific_cb, 'server-req': self.do_server_req, 'extra-hdr-fields': self.do_extra_hdr_fields, 'delayed-payload': self.do_delayad_payload, diff --git a/src/testdir/test_cmdmods.vim b/src/testdir/test_cmdmods.vim index eb6dff1cee..d5a4e935cd 100644 --- a/src/testdir/test_cmdmods.vim +++ b/src/testdir/test_cmdmods.vim @@ -1,4 +1,4 @@ -" Test for all comand modifiers in +" Test for all command modifiers in def Test_cmdmods_array() # Get all the command modifiers from ex_cmds.h. diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index e1fed369b7..6d6efe72f5 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -35,7 +35,7 @@ func Test_version() call assert_true(has('patch-6.9.999')) call assert_true(has('patch-7.1.999')) call assert_true(has('patch-7.4.123')) - call assert_true(has('patch-7.4.123 ')) " Traling space can be allowed. + call assert_true(has('patch-7.4.123 ')) " Trailing space can be allowed. call assert_false(has('patch-7')) call assert_false(has('patch-7.4')) diff --git a/src/testdir/test_fold.vim b/src/testdir/test_fold.vim index 9b8cd7310d..e22ede9a1b 100644 --- a/src/testdir/test_fold.vim +++ b/src/testdir/test_fold.vim @@ -1342,7 +1342,7 @@ endfunc " Test for merging two recursive folds when an intermediate line with no fold " is removed -func Test_fold_merge_recrusive() +func Test_fold_merge_recursive() new call setline(1, [' one', ' two', 'xxxx', ' three', \ ' four', "\tfive"]) diff --git a/src/testdir/test_langmap.vim b/src/testdir/test_langmap.vim index 2284704603..aaed77e109 100644 --- a/src/testdir/test_langmap.vim +++ b/src/testdir/test_langmap.vim @@ -52,7 +52,7 @@ func Test_langmap() set langmap=RL let g:counter = 0 nnoremap L;L <Cmd>let g:counter += 1<CR> - nnoremap <C-L> <Cmd>throw 'This mapping shoud not be triggered'<CR> + nnoremap <C-L> <Cmd>throw 'This mapping should not be triggered'<CR> " 'langmap' is applied to keys without modifiers when matching a mapping call feedkeys('R;R', 'tx') diff --git a/src/testdir/test_map_functions.vim b/src/testdir/test_map_functions.vim index 5caf668c21..13e61f207b 100644 --- a/src/testdir/test_map_functions.vim +++ b/src/testdir/test_map_functions.vim @@ -559,7 +559,7 @@ def Test_maplist() assert_equal(len(maps_maplist), len(map_set)) # For everything returned by maplist, should be the same as from maparg. - # Except for "map dup", bacause maparg returns the <buffer> version + # Except for "map dup", because maparg returns the <buffer> version for d in maps_maplist if d.lhs == 'dup' && d.buffer == 0 continue diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 102502e619..23c4077a91 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -274,7 +274,7 @@ func Test_set_completion() call feedkeys(":setglobal di\<C-A>\<C-B>\"\<CR>", 'tx') call assert_equal('"setglobal dictionary diff diffexpr diffopt digraph directory display', @:) - " Expand boolan options. When doing :set no<Tab> + " Expand boolean options. When doing :set no<Tab> " vim displays the options names without "no" but completion uses "no...". call feedkeys(":set nodi\<C-A>\<C-B>\"\<CR>", 'tx') call assert_equal('"set nodiff digraph', @:) diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index 29b7b7df9c..0f7f18c90e 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -4124,8 +4124,8 @@ func Test_popup_prop_not_visible() fixed: false, }) END - call writefile(lines, 'XtestPropNotVisble', 'D') - let buf = RunVimInTerminal('-S XtestPropNotVisble', #{rows: 10}) + call writefile(lines, 'XtestPropNotVisible', 'D') + let buf = RunVimInTerminal('-S XtestPropNotVisible', #{rows: 10}) call VerifyScreenDump(buf, 'Test_popup_prop_not_visible_01', {}) " check that hiding and unhiding the popup works diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim index 0b2365e23b..8715ebf146 100644 --- a/src/testdir/test_termcodes.vim +++ b/src/testdir/test_termcodes.vim @@ -1222,7 +1222,7 @@ func Test_term_mouse_visual_mode() call assert_equal(5, col("'<")) call assert_equal(12, col("'>")) - " Multi-line selection. Right click inside thse selection. + " Multi-line selection. Right click inside the selection. call setline(1, repeat(['aaaaaa'], 7)) call test_setmouse(3, 1) exe "normal ggVG\<RightMouse>y" diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index 80ad88c6d4..7ec5998dab 100644 --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -1896,7 +1896,7 @@ def Test_delete_line_within_multiline_prop() try :2 del catch - assert_report('Line delete should have workd, but it raised an error.') + assert_report('Line delete should have worked, but it raised an error.') endtry # The property for line 2 (was 3) should no longer extend into the previous @@ -1910,7 +1910,7 @@ def Test_delete_line_within_multiline_prop() try :3 del catch - assert_report('Line delete should have workd, but it raised an error.') + assert_report('Line delete should have worked, but it raised an error.') endtry # The property for line 2 (originally 3) should no longer extend into the next @@ -2405,7 +2405,7 @@ func Do_test_props_do_not_affect_byte_offsets(ff, increment) exec 'setlocal fileformat=' . a:ff " Fill the buffer with varying length lines. We need a suitably large number - " to force Vim code through paths wehere previous error have occurred. This + " to force Vim code through paths where previous error have occurred. This " is more 'art' than 'science'. let text = 'a' call setline(1, text) @@ -2448,7 +2448,7 @@ func Test_props_do_not_affect_byte_offsets_editline() setlocal fileformat=unix " Fill the buffer with varying length lines. We need a suitably large number - " to force Vim code through paths wehere previous error have occurred. This + " to force Vim code through paths where previous error have occurred. This " is more 'art' than 'science'. let text = 'aa' call setline(1, text) diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim index 4e89c7ffca..0fe6e7ca01 100644 --- a/src/testdir/test_vim9_cmd.vim +++ b/src/testdir/test_vim9_cmd.vim @@ -126,7 +126,7 @@ def Test_cmdmod_execute() END v9.CheckScriptSuccess(lines) - # "legacy" does not aply to a called function + # "legacy" does not apply to a called function lines =<< trim END vim9script diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index 58e214c7b2..ac865129f6 100644 --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -4366,7 +4366,7 @@ def Run_Test_debug_running_out_of_lines() g:StopVimInTerminal(buf) enddef -def Test_ambigous_command_error() +def Test_ambiguous_command_error() var lines =<< trim END vim9script command CmdA echomsg 'CmdA' diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim index 1d71450d4a..4aa6bca926 100644 --- a/src/testdir/test_vimscript.vim +++ b/src/testdir/test_vimscript.vim @@ -6882,7 +6882,7 @@ endfunc " Undefined behavior was detected by ubsan with line continuation " after an empty line. "------------------------------------------------------------------------------- -func Test_script_emty_line_continuation() +func Test_script_empty_line_continuation() \ endfunc diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim index c6f80aaef6..573a2cf490 100644 --- a/src/testdir/test_visual.vim +++ b/src/testdir/test_visual.vim @@ -1289,7 +1289,7 @@ func Test_visual_block_with_virtualedit() endfunc func Test_visual_block_ctrl_w_f() - " Emtpy block selected in new buffer should not result in an error. + " Empty block selected in new buffer should not result in an error. au! BufNew foo sil norm f edit foo diff --git a/src/testdir/test_winbar.vim b/src/testdir/test_winbar.vim index b946bcd1a4..954c3e07d9 100644 --- a/src/testdir/test_winbar.vim +++ b/src/testdir/test_winbar.vim @@ -132,8 +132,8 @@ func Test_winbar_not_visible() wincmd j wincmd _ END - call writefile(lines, 'XtestWinbarNotVisble', 'D') - let buf = RunVimInTerminal('-S XtestWinbarNotVisble', #{rows: 10}) + call writefile(lines, 'XtestWinbarNotVisible', 'D') + let buf = RunVimInTerminal('-S XtestWinbarNotVisible', #{rows: 10}) call VerifyScreenDump(buf, 'Test_winbar_not_visible', {}) " clean up @@ -151,8 +151,8 @@ func Test_winbar_not_visible_custom_statusline() wincmd j wincmd _ END - call writefile(lines, 'XtestWinbarNotVisble', 'D') - let buf = RunVimInTerminal('-S XtestWinbarNotVisble', #{rows: 10}) + call writefile(lines, 'XtestWinbarNotVisible', 'D') + let buf = RunVimInTerminal('-S XtestWinbarNotVisible', #{rows: 10}) call VerifyScreenDump(buf, 'Test_winbar_not_visible_custom_statusline', {}) " clean up diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim index 0d4c278e63..7aecb92bd9 100644 --- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -1267,7 +1267,7 @@ endfunc " Test for jumping to a vertical/horizontal neighbor window based on the " current cursor position -func Test_window_goto_neightbor() +func Test_window_goto_neighbor() %bw! " Vertical window movement |