diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-17 22:13:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-17 22:13:54 +0100 |
commit | 3020ccb113d397ddf474001dc00a1916ad7abdee (patch) | |
tree | 83f0bdea64f07c58732dbd8af69a14a62ef18696 /src/testdir/test_suspend.vim | |
parent | ae654385dfb2ae4c1d70789d1dce3676dba4dfbc (diff) | |
download | vim-git-3020ccb113d397ddf474001dc00a1916ad7abdee.tar.gz |
patch 8.1.0769: :stop is covered in two testsv8.1.0769
Problem: :stop is covered in two tests.
Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly.
(Ozaki Kiichi, closes #3814)
Diffstat (limited to 'src/testdir/test_suspend.vim')
-rw-r--r-- | src/testdir/test_suspend.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_suspend.vim b/src/testdir/test_suspend.vim index a9964b040..e569e4905 100644 --- a/src/testdir/test_suspend.vim +++ b/src/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 |