forked from aniani/vim
patch 8.2.2873: not enough tests for writing buffers
Problem: Not enough tests for writing buffers. Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8229)
This commit is contained in:
committed by
Bram Moolenaar
parent
56c9fd0107
commit
46aa6f93ac
@@ -2630,6 +2630,7 @@ endfunc
|
||||
func Test_glob()
|
||||
call assert_equal('', glob(test_null_string()))
|
||||
call assert_equal('', globpath(test_null_string(), test_null_string()))
|
||||
call assert_fails("let x = globpath(&rtp, 'syntax/c.vim', [])", 'E745:')
|
||||
|
||||
call writefile([], 'Xglob1')
|
||||
call writefile([], 'XGLOB2')
|
||||
|
Reference in New Issue
Block a user