]> granicus.if.org Git - vim/commitdiff
patch 8.0.0531: test with long directory name fails on non-unix systems v8.0.0531
authorBram Moolenaar <Bram@vim.org>
Fri, 31 Mar 2017 21:32:53 +0000 (23:32 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 31 Mar 2017 21:32:53 +0000 (23:32 +0200)
Problem:    Test with long directory name fails on non-unix systems.
Solution:   Skip the test on non-unix systems.

src/testdir/test_edit.vim
src/version.c

index b43f84ba2fe6108e5f3bef2479674554d84247ea..70e6bea37df206ae6edb01e564c810ab39f3a22e 100644 (file)
@@ -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)
index 16ebc8784500f29b308bd57b7cda45cba1feffe1..56ff4f6ccfc75eb7d2d1325440d30bad57a2c16f 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    531,
 /**/
     530,
 /**/