diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-23 19:28:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-23 19:28:44 +0100 |
commit | ab505b1a4868b3e21356f95a275537551700c955 (patch) | |
tree | 82613faf8fb01c0c23f6d1be687d2fe01d003474 /src/testdir/test_terminal.vim | |
parent | 56ba21a156c723d92a1929e2c500be7295efb0a8 (diff) | |
download | vim-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.vim | 5 |
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 - |