Mercurial > vim
comparison src/testdir/test_terminal3.vim @ 22780:2e681033d766 v8.2.1938
patch 8.2.1938: wiping out a terminal buffer makes some tests fail
Commit: https://github.com/vim/vim/commit/a46765a79745ff27b4a44659fb8389519c961977
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 1 20:58:26 2020 +0100
patch 8.2.1938: wiping out a terminal buffer makes some tests fail
Problem: Wiping out a terminal buffer makes some tests fail.
Solution: Do not wipe out the terminal buffer unless wanted.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Nov 2020 21:00:05 +0100 |
parents | b85e13213b11 |
children | b545334ae654 |
comparison
equal
deleted
inserted
replaced
22779:b90c404c6c1a | 22780:2e681033d766 |
---|---|
558 call assert_inrange(yroot + 2, yroot + yoff, ypos) | 558 call assert_inrange(yroot + 2, yroot + yoff, ypos) |
559 | 559 |
560 call TermWait(buf) | 560 call TermWait(buf) |
561 call term_sendkeys(buf, ":q\<CR>") | 561 call term_sendkeys(buf, ":q\<CR>") |
562 call StopVimInTerminal(buf) | 562 call StopVimInTerminal(buf) |
563 exe buf . 'bwipe!' | |
564 set splitright& | 563 set splitright& |
565 only! | 564 only! |
566 endfunc | 565 endfunc |
567 | 566 |
568 | 567 |