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)
3020ccb113
This commit is contained in:
Daniel Hahler 2019-06-09 00:09:35 +02:00 committed by Justin M. Keyes
parent 644a725725
commit bf3e12ac85

View File

@ -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