forked from aniani/vim
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:
@@ -49,7 +49,7 @@ STARTTEST
|
|||||||
:tabclose
|
:tabclose
|
||||||
:call append(line('$'), test_status)
|
:call append(line('$'), test_status)
|
||||||
:"
|
:"
|
||||||
:"
|
:if has('gui') || has('clientserver')
|
||||||
:" Test for ":tab drop exist-file" to keep current window.
|
:" Test for ":tab drop exist-file" to keep current window.
|
||||||
:sp test1
|
:sp test1
|
||||||
:tab drop test1
|
:tab drop test1
|
||||||
@@ -85,6 +85,12 @@ STARTTEST
|
|||||||
:tabclose
|
:tabclose
|
||||||
:q
|
:q
|
||||||
:call append(line('$'), test_status)
|
: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
|
:/^Results/,$w! test.out
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
470,
|
||||||
/**/
|
/**/
|
||||||
469,
|
469,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user