vim-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.
9b81079ddd
This commit is contained in:
ckelsel 2018-06-16 19:40:29 +08:00
parent ebc7f69d92
commit 9a1234e57f

View File

@ -1324,6 +1324,10 @@ func Test_edit_quit()
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)