summaryrefslogtreecommitdiff
path: root/src/testdir/test_terminal.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-23 19:28:44 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-23 19:28:44 +0100
commitab505b1a4868b3e21356f95a275537551700c955 (patch)
tree82613faf8fb01c0c23f6d1be687d2fe01d003474 /src/testdir/test_terminal.vim
parent56ba21a156c723d92a1929e2c500be7295efb0a8 (diff)
downloadvim-git-ab505b1a4868b3e21356f95a275537551700c955.tar.gz
patch 8.2.0432: a few tests fail in a huge terminalv8.2.0432
Problem: A few tests fail in a huge terminal. Solution: Make the tests pass. (Dominique Pelle, closes #5829)
Diffstat (limited to 'src/testdir/test_terminal.vim')
-rw-r--r--src/testdir/test_terminal.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index f83ca51cb..6d7c78615 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -673,7 +673,7 @@ func Test_terminal_noblock()
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 Test_term_nasty_callback()
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 @@ func Test_term_nasty_callback()
exe g:buf0 .. 'bwipe!'
set hidden&
endfunc
-