Mercurial > vim
diff src/testdir/test_quickfix.vim @ 13948:2ed1585c6467 v8.0.1844
patch 8.0.1844: superfluous quickfix code, missing examples
commit https://github.com/vim/vim/commit/78ddc06bdd5c59cffdbb61eed7dcb5dcc4a17f19
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 15 21:56:34 2018 +0200
patch 8.0.1844: superfluous quickfix code, missing examples
Problem: Superfluous quickfix code, missing examples.
Solution: Remove unneeded code. Add a few examples. Add a bit more
testing. (Yegappan Lakshmanan, closes #2916)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 15 May 2018 22:00:07 +0200 |
parents | 3b6c29f8c1a2 |
children | 59e76d550c10 |
line wrap: on
line diff
--- a/src/testdir/test_quickfix.vim +++ b/src/testdir/test_quickfix.vim @@ -1185,6 +1185,13 @@ func Test_efm2() call assert_equal(1, len(l), string(l)) call assert_equal('|| msg2', l[0].text) + " When matching error lines, case should be ignored. Test for this. + set noignorecase + let l=getqflist({'lines' : ['Xtest:FOO10:Line 20'], 'efm':'%f:foo%l:%m'}) + call assert_equal(10, l.items[0].lnum) + call assert_equal('Line 20', l.items[0].text) + set ignorecase& + new | only let &efm = save_efm endfunc