summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-13 14:21:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-13 14:21:19 +0200
commit700dfaa86a96dc1d6c33b28e79438445e02edecf (patch)
tree0c0835d5edbd1f3e3dd7dac255823905d9dc0461
parent5d48e0d99aaeed9bc0b0d336fe9549149b1eb91d (diff)
patch 8.1.1164: gettitle test is failing when server name differsv8.1.1164
Problem: Gettitle test is failing when server name differs. (Kenta Sato) Solution: Accept "VIM1" when 'autoservername' is used. (Dominique Pelle, closes #4250, closes #4249)
-rw-r--r--src/testdir/test_terminal.vim12
-rw-r--r--src/version.c2
2 files changed, 10 insertions, 4 deletions
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index b685cd682c..41a048a5b0 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -337,7 +337,7 @@ func Test_terminal_postponed_scrollback()
call VerifyScreenDump(buf, 'Test_terminal_01', {})
silent !echo 'one more line' >>Xtext
- " Sceen will not change, move cursor to get a different dump
+ " Screen will not change, move cursor to get a different dump
call term_sendkeys(buf, "k")
call VerifyScreenDump(buf, 'Test_terminal_02', {})
@@ -1596,7 +1596,7 @@ func Test_terminal_termwinsize_option_zero()
set termwinsize=
endfunc
-func Test_terminal_termwinsize_mininmum()
+func Test_terminal_termwinsize_minimum()
set termwinsize=10*50
vsplit
let buf = Run_shell_in_terminal({})
@@ -1903,7 +1903,11 @@ func Test_term_gettitle()
endif
let term = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'])
- call WaitForAssert({-> assert_equal('[No Name] - VIM', term_gettitle(term)) })
+ if has('autoservername')
+ call WaitForAssert({-> assert_equal('[No Name] - VIM1', term_gettitle(term)) })
+ else
+ call WaitForAssert({-> assert_equal('[No Name] - VIM', term_gettitle(term)) })
+ endif
call term_sendkeys(term, ":e Xfoo\r")
call WaitForAssert({-> assert_match('Xfoo (.*[/\\]testdir) - VIM', term_gettitle(term)) })
@@ -1963,7 +1967,7 @@ func Test_terminal_getwinpos()
let ypos = str2nr(substitute(line, '\[\d\+, \(\d\+\)\]', '\1', ''))
" Position must be bigger than the getwinpos() result of Vim itself.
- " The calcuation in the console assumes a 10 x 7 character cell.
+ " The calculation in the console assumes a 10 x 7 character cell.
" In the GUI it can be more, let's assume a 20 x 14 cell.
" And then add 100 / 200 tolerance.
let [xroot, yroot] = getwinpos()
diff --git a/src/version.c b/src/version.c
index 94f13393e7..a53228deda 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1164,
+/**/
1163,
/**/
1162,