summaryrefslogtreecommitdiff
path: root/src/testdir/test62.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-03-07 22:55:20 +0100
committerBram Moolenaar <Bram@vim.org>2012-03-07 22:55:20 +0100
commit7c578d3c3f501c0dd86c48aad6816a6ce6e3fc77 (patch)
treedf393d4f8b1da91585ad4767b4fd3ccc44c98291 /src/testdir/test62.in
parent5fbe6993903ed3e8d7c288b337c1b0eaf2e14bd8 (diff)
downloadvim-7c578d3c3f501c0dd86c48aad6816a6ce6e3fc77.zip
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.
Diffstat (limited to 'src/testdir/test62.in')
-rw-r--r--src/testdir/test62.in8
1 files changed, 7 insertions, 1 deletions
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