aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_functions.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-07 07:21:46 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-11-07 07:33:59 +0800
commit7e1d9c560b09cacb78b2fc8f9428a77d6fca66e1 (patch)
treec1c6e5463d515ddc174ca71554d1203f29983c28 /src/nvim/testdir/test_functions.vim
parentbdf87efeb523aecffde7dbf3c17806f7ca98471f (diff)
downloadrneovim-7e1d9c560b09cacb78b2fc8f9428a77d6fca66e1.tar.gz
rneovim-7e1d9c560b09cacb78b2fc8f9428a77d6fca66e1.tar.bz2
rneovim-7e1d9c560b09cacb78b2fc8f9428a77d6fca66e1.zip
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 vim/vim#8229) https://github.com/vim/vim/commit/46aa6f93acb5d932d2893606d980a6b4b8a9594c Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/testdir/test_functions.vim')
-rw-r--r--src/nvim/testdir/test_functions.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim
index b464f6591d..0f2066b7c1 100644
--- a/src/nvim/testdir/test_functions.vim
+++ b/src/nvim/testdir/test_functions.vim
@@ -2454,6 +2454,7 @@ endfunc
func Test_glob()
call assert_equal('', glob(v:_null_string))
call assert_equal('', globpath(v:_null_string, v:_null_string))
+ call assert_fails("let x = globpath(&rtp, 'syntax/c.vim', [])", 'E745:')
call writefile([], 'Xglob1')
call writefile([], 'XGLOB2')