Mercurial > vim
diff src/testdir/test_terminal.vim @ 19752:0927df746554 v8.2.0432
patch 8.2.0432: a few tests fail in a huge terminal
Commit: https://github.com/vim/vim/commit/ab505b1a4868b3e21356f95a275537551700c955
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 19:28:44 2020 +0100
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 https://github.com/vim/vim/issues/5829)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 19:30:06 +0100 |
parents | a653d1a165ef |
children | ed157b5edad0 |
line wrap: on
line diff
--- 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 -