diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-03-25 19:09:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-03-25 19:09:56 +0200 |
commit | 2de50f87622cd4e631fd17845e16a94ed5992b80 (patch) | |
tree | 3ad2b604bea8ac061ad42da51af83f5517addb10 | |
parent | 15a1c3fdc19499c267e4dc664aa0de9d65a08cad (diff) |
patch 8.0.1643: terminal API tests failv8.0.1643
Problem: Terminal API tests fail.
Solution: Explicitly set 'title'.
-rw-r--r-- | src/testdir/test_terminal.vim | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim index 6f655185f3..2589b26cc8 100644 --- a/src/testdir/test_terminal.vim +++ b/src/testdir/test_terminal.vim @@ -1029,6 +1029,7 @@ func Test_terminal_api_drop_newwin() return endif call assert_equal(1, winnr('$')) + set title " Use the title termcap entries to output the escape sequence. call writefile([ @@ -1045,6 +1046,7 @@ func Test_terminal_api_drop_newwin() call StopVimInTerminal(buf) call delete('Xscript') bwipe Xtextfile + set title& endfunc func Test_terminal_api_drop_oldwin() @@ -1056,6 +1058,7 @@ func Test_terminal_api_drop_oldwin() let textfile_winid = win_getid() call assert_equal(2, winnr('$')) call win_gotoid(firstwinid) + set title " Use the title termcap entries to output the escape sequence. call writefile([ @@ -1071,6 +1074,7 @@ func Test_terminal_api_drop_oldwin() call StopVimInTerminal(buf) call delete('Xscript') bwipe Xtextfile + set title& endfunc func TryThis(bufnum, arg) @@ -1082,6 +1086,8 @@ func Test_terminal_api_call() if !CanRunVimInTerminal() return endif + set title + " Use the title termcap entries to output the escape sequence. call writefile([ \ 'exe "set t_ts=\<Esc>]51; t_fs=\x07"', @@ -1098,4 +1104,5 @@ func Test_terminal_api_call() call delete('Xscript') unlet g:called_bufnum unlet g:called_arg + set title& endfunc diff --git a/src/version.c b/src/version.c index c648d52c3f..acca91ad84 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1643, +/**/ 1642, /**/ 1641, |