We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb18a8 commit 51c2368Copy full SHA for 51c2368
2 files changed
src/testdir/test_terminal.vim
@@ -410,11 +410,12 @@ func Test_terminal_env()
410
return
411
endif
412
let buf = Run_shell_in_terminal({'env': {'TESTENV': 'correct'}})
413
- call term_wait(buf)
+ " Wait for the shell to display a prompt
414
+ call WaitFor('term_getline(1) != ""')
415
call term_sendkeys(buf, "echo $TESTENV\r")
416
call term_wait(buf)
417
call Stop_shell_in_terminal(buf)
418
+ call WaitFor('getline(2) == "correct"')
419
call assert_equal('correct', getline(2))
420
421
exe buf . 'bwipe'
src/version.c
@@ -769,6 +769,8 @@ static char *(features[]) =
769
770
static int included_patches[] =
771
{ /* Add new patch number below this line */
772
+/**/
773
+ 939,
774
/**/
775
938,
776
0 commit comments