comparison src/testdir/test_terminal.vim @ 29153:5fb3e2a89d7a v8.2.5096

patch 8.2.5096: terminal test still fails with some shell commands Commit: https://github.com/vim/vim/commit/377d92a912d4d11a336322a6eeff128cf8ebb5fa Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 14 21:22:12 2022 +0100 patch 8.2.5096: terminal test still fails with some shell commands Problem: Terminal test still fails with some shell commands. Solution: Add missing "call". (closes https://github.com/vim/vim/issues/10530)
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jun 2022 22:30:03 +0200
parents 6dfdbe81899e
children 25480d36bff5
comparison
equal deleted inserted replaced
29152:d78b32c2ab40 29153:5fb3e2a89d7a
1220 CheckRunVimInTerminal 1220 CheckRunVimInTerminal
1221 1221
1222 let buf = RunVimInTerminal('', {}) 1222 let buf = RunVimInTerminal('', {})
1223 1223
1224 " the shell may set the window title, we don't want that here 1224 " the shell may set the window title, we don't want that here
1225 call term_sendkeys(buf, ":test_override('vterm_title', 1)\<CR>") 1225 call term_sendkeys(buf, ":call test_override('vterm_title', 1)\<CR>")
1226 1226
1227 " Open a terminal window and wait for the prompt to appear 1227 " Open a terminal window and wait for the prompt to appear
1228 call term_sendkeys(buf, ":term\<CR>") 1228 call term_sendkeys(buf, ":term\<CR>")
1229 call WaitForAssert({-> assert_match('\[running]', term_getline(buf, 10))}) 1229 call WaitForAssert({-> assert_match('\[running]', term_getline(buf, 10))})
1230 call WaitForAssert({-> assert_notmatch('^\s*$', term_getline(buf, 1))}) 1230 call WaitForAssert({-> assert_notmatch('^\s*$', term_getline(buf, 1))})