aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2018-06-16 19:40:29 +0800
committerckelsel <ckelsel@hotmail.com>2018-06-16 19:40:46 +0800
commit9a1234e57f404638f0e040323b0097a6dc38e17f (patch)
treea23dc31c18f735a836d2167cc28a86d74aa0ad2b
parentebc7f69d928420f8957188aea64cd57f8ed30334 (diff)
downloadrneovim-9a1234e57f404638f0e040323b0097a6dc38e17f.tar.gz
rneovim-9a1234e57f404638f0e040323b0097a6dc38e17f.tar.bz2
rneovim-9a1234e57f404638f0e040323b0097a6dc38e17f.zip
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. https://github.com/vim/vim/commit/9b81079ddd839a666682f6bdbc24890bf4d1a42c
-rw-r--r--src/nvim/testdir/test_edit.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim
index ae0404ea6c..daa86a2f80 100644
--- a/src/nvim/testdir/test_edit.vim
+++ b/src/nvim/testdir/test_edit.vim
@@ -1324,6 +1324,10 @@ func Test_edit_quit()
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)