diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-03-07 22:55:20 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-03-07 22:55:20 +0100 |
commit | 7c578d3c3f501c0dd86c48aad6816a6ce6e3fc77 (patch) | |
tree | df393d4f8b1da91585ad4767b4fd3ccc44c98291 /src/testdir | |
parent | 5fbe6993903ed3e8d7c288b337c1b0eaf2e14bd8 (diff) | |
download | vim-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')
-rw-r--r-- | src/testdir/test62.in | 8 |
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 |