1
0
forked from aniani/vim

patch 8.1.0769: :stop is covered in two tests

Problem:    :stop is covered in two tests.
Solution:   Remove Test_stop_in_terminal().  Make other test exit Vim cleanly.
            (Ozaki Kiichi, closes #3814)
This commit is contained in:
Bram Moolenaar
2019-01-17 22:13:54 +01:00
parent ae654385df
commit 3020ccb113
3 changed files with 7 additions and 34 deletions

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