vim-patch:8.1.0252: quickfix functions are too long

Problem:    Quickfix functions are too long.
Solution:   Refactor. (Yegappan Lakshmanan, closes vim/vim#2950)
de3b3677f7
This commit is contained in:
Shane Smith
2019-09-18 16:00:06 -04:00
parent 479c014122
commit a123050c1a
2 changed files with 444 additions and 277 deletions

View File

@@ -1045,8 +1045,8 @@ func Test_efm2()
set efm=%f:%s
cexpr 'Xtestfile:Line search text'
let l = getqflist()
call assert_equal(l[0].pattern, '^\VLine search text\$')
call assert_equal(l[0].lnum, 0)
call assert_equal('^\VLine search text\$', l[0].pattern)
call assert_equal(0, l[0].lnum)
let l = split(execute('clist', ''), "\n")
call assert_equal([' 1 Xtestfile:^\VLine search text\$: '], l)