0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2017-03-31 23:32:53 +02:00
parent 658a3a2caf
commit 9b81079ddd
2 changed files with 6 additions and 0 deletions

View File

@@ -1324,6 +1324,10 @@ func! Test_edit_rightleft()
endfunc endfunc
func Test_edit_complete_very_long_name() func Test_edit_complete_very_long_name()
if !has('unix')
" Long directory names only work on Unix.
return
endif
let save_columns = &columns let save_columns = &columns
set columns=5000 set columns=5000
call assert_equal(5000, &columns) call assert_equal(5000, &columns)

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
531,
/**/ /**/
530, 530,
/**/ /**/