summaryrefslogtreecommitdiff
path: root/src/testdir/test_terminal_fail.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_terminal_fail.vim')
-rw-r--r--src/testdir/test_terminal_fail.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_terminal_fail.vim b/src/testdir/test_terminal_fail.vim
index f33ade634..d621d03a1 100644
--- a/src/testdir/test_terminal_fail.vim
+++ b/src/testdir/test_terminal_fail.vim
@@ -10,7 +10,7 @@ source shared.vim
func Test_terminal_redir_fails()
if has('unix')
let buf = term_start('xyzabc', {'err_io': 'file', 'err_name': 'Xfile'})
- call term_wait(buf)
+ call TermWait(buf)
call WaitFor('len(readfile("Xfile")) > 0')
call assert_match('executing job failed', readfile('Xfile')[0])
call WaitFor('!&modified')