diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-04 02:03:45 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-04 02:05:25 -0400 |
| commit | 9d50d033bc7a631d9011bb427816d2543deb66f6 (patch) | |
| tree | 246520534bd2a60f9faaaf36177c325d9245c367 /src/nvim/testdir/test_quickfix.vim | |
| parent | 7876f4f2181d889d68b25cb66a0ff82b1f84d68c (diff) | |
| download | rneovim-9d50d033bc7a631d9011bb427816d2543deb66f6.tar.gz rneovim-9d50d033bc7a631d9011bb427816d2543deb66f6.tar.bz2 rneovim-9d50d033bc7a631d9011bb427816d2543deb66f6.zip | |
vim-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 vim/vim#2916)
https://github.com/vim/vim/commit/78ddc06bdd5c59cffdbb61eed7dcb5dcc4a17f19
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 e805b5f663..f328f069d5 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -1167,6 +1167,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 |