diff options
author | Daniel Hahler <git@thequod.de> | 2019-06-09 00:09:35 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-06-09 00:09:35 +0200 |
commit | bf3e12ac8504af361ed91c78c171a3e967567503 (patch) | |
tree | bdcf041eed764c2167f0380a9d5693ee306a4781 | |
parent | 644a725725088f82746d9319c86d61584fbc497e (diff) | |
download | rneovim-bf3e12ac8504af361ed91c78c171a3e967567503.tar.gz rneovim-bf3e12ac8504af361ed91c78c171a3e967567503.tar.bz2 rneovim-bf3e12ac8504af361ed91c78c171a3e967567503.zip |
vim-patch:8.1.0769: :stop is covered in two tests #10157
Problem: :stop is covered in two tests.
Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly.
(Ozaki Kiichi, closes vim/vim#3814)
https://github.com/vim/vim/commit/3020ccb113d397ddf474001dc00a1916ad7abdee
-rw-r--r-- | src/nvim/testdir/test_suspend.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_suspend.vim b/src/nvim/testdir/test_suspend.vim index a9964b0400..e569e49055 100644 --- a/src/nvim/testdir/test_suspend.vim +++ b/src/nvim/testdir/test_suspend.vim @@ -45,7 +45,11 @@ func Test_suspend() call term_sendkeys(buf, "fg\<CR>") call WaitForAssert({-> assert_equal(' 1 foo', term_getline(buf, '.'))}) + " Quit gracefully to dump coverage information. + call term_sendkeys(buf, ":qall!\<CR>") + call term_wait(buf) + call Stop_shell_in_terminal(buf) + exe buf . 'bwipe!' call delete('Xfoo') - set autowrite& endfunc |