aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_functions.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-27 08:26:09 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-10-27 08:30:16 +0800
commitbd122494cc3012a4885a55663e7c158c7a402878 (patch)
treed4f7c5006a813b0c1556e50c7bab1cea5876f8a3 /src/nvim/testdir/test_functions.vim
parent245e6c5b305a0f32c39c88df8c0bf3c38505cc60 (diff)
downloadrneovim-bd122494cc3012a4885a55663e7c158c7a402878.tar.gz
rneovim-bd122494cc3012a4885a55663e7c158c7a402878.tar.bz2
rneovim-bd122494cc3012a4885a55663e7c158c7a402878.zip
vim-patch:8.2.2100: insufficient testing for function range and dict
Problem: Insufficient testing for function range and dict. Solution: Add a few tests. (Dominique Pellé, closes vim/vim#7428) https://github.com/vim/vim/commit/67322bf74a106b6476b093e75da87d61e2181b76
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 1b9b9abd91..b751215b79 100644
--- a/src/nvim/testdir/test_functions.vim
+++ b/src/nvim/testdir/test_functions.vim
@@ -1865,6 +1865,7 @@ func Test_call()
let mydict = {'data': [0, 1, 2, 3], 'len': function("Mylen")}
eval mydict.len->call([], mydict)->assert_equal(4)
call assert_fails("call call('Mylen', [], 0)", 'E715:')
+ call assert_fails('call foo', 'E107:')
endfunc
func Test_char2nr()