Skip to content

Commit 461fe50

Browse files
committed
patch 8.0.1367: terminal test hangs, executing abcde
Problem: terminal test hangs, executing abcde. (Stucki) Solution: Rename abcde to abxde.
1 parent 1ad022a commit 461fe50

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/testdir/test_terminal.vim

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -673,15 +673,16 @@ func TerminalTmap(remap)
673673
else
674674
tnoremap 123 456
675675
endif
676-
tmap 456 abcde
676+
" don't use abcde, it's an existing command
677+
tmap 456 abxde
677678
call assert_equal('456', maparg('123', 't'))
678-
call assert_equal('abcde', maparg('456', 't'))
679+
call assert_equal('abxde', maparg('456', 't'))
679680
call feedkeys("123", 'tx')
680681
let g:buf = buf
681-
call WaitFor("term_getline(g:buf,term_getcursor(g:buf)[0]) =~ 'abcde\\|456'")
682+
call WaitFor("term_getline(g:buf,term_getcursor(g:buf)[0]) =~ 'abxde\\|456'")
682683
let lnum = term_getcursor(buf)[0]
683684
if a:remap
684-
call assert_match('abcde', term_getline(buf, lnum))
685+
call assert_match('abxde', term_getline(buf, lnum))
685686
else
686687
call assert_match('456', term_getline(buf, lnum))
687688
endif

src/version.c

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

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1367,
774776
/**/
775777
1366,
776778
/**/

0 commit comments

Comments
 (0)