diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-12-12 20:08:05 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-12 20:08:05 +0000 |
commit | 04ef1fb13d200f770952e670357dddadb6210dd4 (patch) | |
tree | 39647e7db85fd8053c52bab8da89b9b6f720fe25 /src/testdir/test_quickfix.vim | |
parent | d2439e0443ee26931ab93874c05cc7f57e9af93d (diff) |
patch 8.2.3792: setting *func options insufficiently testedv8.2.3792
Problem: Setting *func options insufficiently tested.
Solution: Impove tests. (Yegappan Lakshmanan, closes #9337)
Diffstat (limited to 'src/testdir/test_quickfix.vim')
-rw-r--r-- | src/testdir/test_quickfix.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim index c8e04d8ef3..283e943794 100644 --- a/src/testdir/test_quickfix.vim +++ b/src/testdir/test_quickfix.vim @@ -5287,6 +5287,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" |