oldtests: comment out test for 'set cpo+=.'

nvim does not support POSIX cpoptions.
This commit is contained in:
Jan Edmund Lazo
2018-08-26 14:41:45 -04:00
parent ff8e239493
commit 246fa3e81d

View File

@@ -46,10 +46,10 @@ func Test_cd_with_cpo_chdir()
e Xfoo
call setline(1, 'foo')
let path = getcwd()
set cpo+=.
" set cpo+=.
" :cd should fail when buffer is modified and 'cpo' contains dot.
call assert_fails('cd ..', 'E747:')
" call assert_fails('cd ..', 'E747:')
call assert_equal(path, getcwd())
" :cd with exclamation mark should succeed.