forked from aniani/vim
patch 8.2.0634: crash with null partial and blob
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984)
This commit is contained in:
@@ -119,6 +119,7 @@ func Test_chdir_func()
|
||||
call assert_equal("", d)
|
||||
" Should not crash
|
||||
call chdir(d)
|
||||
call assert_equal('', chdir([]))
|
||||
|
||||
only | tabonly
|
||||
call chdir(topdir)
|
||||
|
||||
Reference in New Issue
Block a user