summaryrefslogtreecommitdiff
path: root/src/testdir/test_edit.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-31 23:32:53 +0200
committerBram Moolenaar <Bram@vim.org>2017-03-31 23:32:53 +0200
commit9b81079ddd839a666682f6bdbc24890bf4d1a42c (patch)
tree3b51f464862b8b69f6973758a5d23e1c9fed6a4f /src/testdir/test_edit.vim
parent658a3a2caf5852d071b6b1be92d9d6614a6208dc (diff)
downloadvim-9b81079ddd839a666682f6bdbc24890bf4d1a42c.zip
patch 8.0.0531: test with long directory name fails on non-unix systems
Problem: Test with long directory name fails on non-unix systems. Solution: Skip the test on non-unix systems.
Diffstat (limited to 'src/testdir/test_edit.vim')
-rw-r--r--src/testdir/test_edit.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim
index b43f84ba2..70e6bea37 100644
--- a/src/testdir/test_edit.vim
+++ b/src/testdir/test_edit.vim
@@ -1324,6 +1324,10 @@ func! Test_edit_rightleft()
endfunc
func Test_edit_complete_very_long_name()
+ if !has('unix')
+ " Long directory names only work on Unix.
+ return
+ endif
let save_columns = &columns
set columns=5000
call assert_equal(5000, &columns)