Skip to content

Commit 95ffd43

Browse files
committed
patch 8.2.0304: terminal test if failing on some systems
Problem: Terminal test if failing on some systems. Solution: Wait for the job to finish. (James McCoy)
1 parent d28e0b3 commit 95ffd43

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/testdir/test_terminal.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,8 @@ func Test_terminal_special_chars()
781781
call writefile(['x'], 'Xdir with spaces/quoted"file')
782782
term ls Xdir\ with\ spaces/quoted\"file
783783
call WaitForAssert({-> assert_match('quoted"file', term_getline('', 1))})
784-
call term_wait('')
784+
" make sure the job has finished
785+
call WaitForAssert({-> assert_match('finish', term_getstatus(bufnr()))})
785786

786787
call delete('Xdir with spaces', 'rf')
787788
bwipe

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
304,
741743
/**/
742744
303,
743745
/**/

0 commit comments

Comments
 (0)