From: Bram Moolenaar Date: Wed, 7 Mar 2012 21:55:20 +0000 (+0100) Subject: updated for version 7.3.470 X-Git-Tag: v7.3.470 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c578d3c3f501c0dd86c48aad6816a6ce6e3fc77;p=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. --- diff --git a/src/testdir/test62.in b/src/testdir/test62.in index c549c8b43..1e514cd21 100644 --- a/src/testdir/test62.in +++ b/src/testdir/test62.in @@ -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 diff --git a/src/version.c b/src/version.c index 2932be8c1..6b773ffd0 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 470, /**/ 469, /**/