diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-25 17:14:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-25 17:14:06 +0100 |
commit | f68f1d70799631d38461c36cd59d08cf839b010d (patch) | |
tree | 1e89a4ba110417172037756500b650736268da6d | |
parent | aedfcbe1e6c7df6edcd6756d7601bfdec7dd2087 (diff) |
patch 7.4.1650v7.4.1650
Problem: Quickfix test fails.
Solution: Accept any number of matches.
-rw-r--r-- | src/testdir/test_quickfix.vim | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/testdir/test_quickfix.vim b/src/testdir/test_quickfix.vim index e56c8a2391..3908ce0938 100644 --- a/src/testdir/test_quickfix.vim +++ b/src/testdir/test_quickfix.vim @@ -684,6 +684,11 @@ func Test_caddbuffer_to_empty() helpgr quickfix call setqflist([], 'r') cad - call assert_fails('cn', 'E553:') + try + cn + catch + " number of matches is unknown + call assert_true(v:exception =~ 'E553:') + endtry quit! endfunc diff --git a/src/version.c b/src/version.c index 9a7e19ea71..1a5b6e7f64 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1650, +/**/ 1649, /**/ 1648, |