patch 9.0.1285: various small problems
Problem: Various small problems.
Solution: Adjust white space and comments.
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 23d6b4c..e1c336a 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -274,7 +274,7 @@
call term_sendkeys(buf, ":set cmdheight-=2\<CR>")
call VerifyScreenDump(buf, 'Test_changing_cmdheight_4', {})
- " reducing window size and then setting cmdheight
+ " reducing window size and then setting cmdheight
call term_sendkeys(buf, ":resize -1\<CR>")
call term_sendkeys(buf, ":set cmdheight=1\<CR>")
call VerifyScreenDump(buf, 'Test_changing_cmdheight_5', {})
@@ -491,7 +491,7 @@
call assert_equal([], l)
if !has('ruby')
- " global_functions[] has an entry but it doesn't have an implemention
+ " global_functions[] has an entry but it doesn't have an implementation
let l = getcompletion('ruby', 'function')
call assert_equal([], l)
endif
diff --git a/src/testdir/view_util.vim b/src/testdir/view_util.vim
index d9e740d..71cb071 100644
--- a/src/testdir/view_util.vim
+++ b/src/testdir/view_util.vim
@@ -51,6 +51,7 @@
return attrs
endfunc
+" Create a new window with the requested size and fix it.
func NewWindow(height, width) abort
exe a:height . 'new'
exe a:width . 'vsp'