summaryrefslogtreecommitdiffstats
path: root/src/testdir/term_util.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-04 14:00:39 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-04 14:00:39 +0200
commitcde0ff39da2459b16007fef701ebaa449fb6fe9d (patch)
tree9ba0f500505470043d6e78a30600419375d4c76f /src/testdir/term_util.vim
parentd77a8525d5438cae49f670eb473ef60d87ca5f54 (diff)
patch 8.2.0509: various code is not properly tested.v8.2.0509
Problem: various code is not properly tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5871)
Diffstat (limited to 'src/testdir/term_util.vim')
-rw-r--r--src/testdir/term_util.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/term_util.vim b/src/testdir/term_util.vim
index dd1f71dc0d..32e2889140 100644
--- a/src/testdir/term_util.vim
+++ b/src/testdir/term_util.vim
@@ -82,6 +82,8 @@ func RunVimInTerminal(arguments, options)
let cols = term_getsize(buf)[1]
endif
+ call term_wait(buf)
+
" Wait for "All" or "Top" of the ruler to be shown in the last line or in
" the status line of the last window. This can be quite slow (e.g. when
" using valgrind).
@@ -113,3 +115,5 @@ func StopVimInTerminal(buf)
call WaitForAssert({-> assert_equal("finished", term_getstatus(a:buf))})
only!
endfunc
+
+" vim: shiftwidth=2 sts=2 expandtab