0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.470

Problem:    Test 62 fails when compiled without GUI and X11.
Solution:   Don't test :drop when it is not supported.
This commit is contained in:
Bram Moolenaar 2012-03-07 22:55:20 +01:00
parent 5fbe699390
commit 7c578d3c3f
2 changed files with 9 additions and 1 deletions

View File

@ -49,7 +49,7 @@ STARTTEST
:tabclose
:call append(line('$'), test_status)
:"
:"
:if has('gui') || has('clientserver')
:" Test for ":tab drop exist-file" to keep current window.
:sp test1
:tab drop test1
@ -85,6 +85,12 @@ STARTTEST
:tabclose
:q
:call append(line('$'), test_status)
:else
:" :drop not supported
:call append(line('$'), 'tab drop 1: pass')
:call append(line('$'), 'tab drop 2: pass')
:call append(line('$'), 'tab drop 3: pass')
:endif
:"
:"
:/^Results/,$w! test.out

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
470,
/**/
469,
/**/