Mercurial > vim
diff src/testdir/test_functions.vim @ 24669:d7644bffe128 v8.2.2873
patch 8.2.2873: not enough tests for writing buffers
Commit: https://github.com/vim/vim/commit/46aa6f93acb5d932d2893606d980a6b4b8a9594c
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Wed May 19 17:15:04 2021 +0200
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 https://github.com/vim/vim/issues/8229)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 May 2021 17:30:03 +0200 |
parents | 4aebea72c397 |
children | 53fd6370e4fd |
line wrap: on
line diff
--- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -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')