diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 14:08:29 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 14:25:32 +0800 |
| commit | be19990f30ed004f7f363f79ed05f23039bdfd07 (patch) | |
| tree | 3a00a66741d99b3cf10cc47979e0e5c73a9b6abe /src/nvim/testdir/test_quickfix.vim | |
| parent | c00d241981f292a6529242bb98ed16cfc8c53ae4 (diff) | |
| download | rneovim-be19990f30ed004f7f363f79ed05f23039bdfd07.tar.gz rneovim-be19990f30ed004f7f363f79ed05f23039bdfd07.tar.bz2 rneovim-be19990f30ed004f7f363f79ed05f23039bdfd07.zip | |
vim-patch:8.2.3792: setting *func options insufficiently tested
Problem: Setting *func options insufficiently tested.
Solution: Impove tests. (Yegappan Lakshmanan, closes vim/vim#9337)
https://github.com/vim/vim/commit/04ef1fb13d200f770952e670357dddadb6210dd4
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/nvim/testdir/test_quickfix.vim')
| -rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index a18d6fd6ab..42bdb7bad1 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -5695,6 +5695,13 @@ func Test_qftextfunc_callback() let lines =<< trim END set efm=%f:%l:%c:%m + #" Test for using a function name + LET &qftf = 'g:Tqfexpr' + cexpr "F0:0:0:L0" + copen + call assert_equal('F0-L0C0-L0', getline(1)) + cclose + #" Test for using a function() set qftf=function('g:Tqfexpr') cexpr "F1:1:1:L1" |