summaryrefslogtreecommitdiff
path: root/src/testdir/test_search.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-19 22:25:40 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-19 22:25:40 +0100
commit1bd999f982e783219a06e6c8f219df1d53ac7e77 (patch)
tree28068b42e03ad713bfa8ed033ffc8d80c026a4b8 /src/testdir/test_search.vim
parent8ada6aa9298b4764d9ca0024dd21b17e815595ce (diff)
downloadvim-git-1bd999f982e783219a06e6c8f219df1d53ac7e77.tar.gz
patch 8.0.1417: test doesn't search for a sentencev8.0.1417
Problem: Test doesn't search for a sentence. Still fails when searching for start of sentence. (Dominique Pelle) Solution: Add paren. Check for MAXCOL in dec().
Diffstat (limited to 'src/testdir/test_search.vim')
-rw-r--r--src/testdir/test_search.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim
index 84edfbbd4..9b96b49fd 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -733,6 +733,8 @@ endfunc
func Test_search_sentence()
new
" this used to cause a crash
- call assert_fails("/\\%'", 'E486')
+ call assert_fails("/\\%')", 'E486')
call assert_fails("/", 'E486')
+ /\%'(
+ /
endfunc