1
0
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:
Yegappan Lakshmanan
2021-05-19 17:15:04 +02:00
committed by Bram Moolenaar
parent 56c9fd0107
commit 46aa6f93ac
5 changed files with 72 additions and 3 deletions

View File

@@ -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')