diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 07:34:06 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 09:25:31 +0800 |
commit | e30929cda5cad8afb384cdb5b1ce62758dca6bde (patch) | |
tree | 5862bf8489efc9facfa7636f7cea19f61f389e51 /src/nvim/testdir/test_expr.vim | |
parent | b7b4914fe44b4a192379659dbcb958c63b82327c (diff) | |
download | rneovim-e30929cda5cad8afb384cdb5b1ce62758dca6bde.tar.gz rneovim-e30929cda5cad8afb384cdb5b1ce62758dca6bde.tar.bz2 rneovim-e30929cda5cad8afb384cdb5b1ce62758dca6bde.zip |
vim-patch:8.2.0644: insufficient testing for invalid function arguments
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5988)
https://github.com/vim/vim/commit/99fa721944dda9d07c53c907c33466728df5c271
Omit test_listener.vim: changed again in patch 8.2.1183.
Omit test_textprop.vim: changed again in patch 8.2.1183.
Cherry-pick quickfix feature checks from patch 8.1.2373.
Omit Test_saveas() change: duplicate and removed in patch 8.2.0866.
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
-rw-r--r-- | src/nvim/testdir/test_expr.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index dc8401003d..0579ce7dcb 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -528,6 +528,7 @@ func Test_setmatches() endif eval set->setmatches() call assert_equal(exp, getmatches()) + call assert_fails('let m = setmatches([], [])', 'E957:') endfunc func Test_empty_concatenate() |