patch 8.2.0432: a few tests fail in a huge terminal

Problem:    A few tests fail in a huge terminal.
Solution:   Make the tests pass. (Dominique Pelle, closes #5829)
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index f83ca51..6d7c786 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -673,7 +673,7 @@
     let len = 5000
   endif
 
-  for c in ['a','b','c','d','e','f','g','h','i','j','k']
+  for c in split('abcdefghijklmnopqrstuvwxyz', '\zs')
     call term_sendkeys(buf, 'echo ' . repeat(c, len) . "\<cr>")
   endfor
   call term_sendkeys(buf, "echo done\<cr>")
@@ -2495,7 +2495,7 @@
   func TermExit(...)
     call term_sendkeys(bufnr('#'), "exit\<CR>")
     call popup_close(win_getid())
-  endfu
+  endfunc
   call OpenTerms()
 
   call term_sendkeys(g:buf0, "exit\<CR>")
@@ -2503,4 +2503,3 @@
   exe g:buf0 .. 'bwipe!'
   set hidden&
 endfunc
-