summaryrefslogtreecommitdiff
path: root/src/testdir/test_search.vim
diff options
context:
space:
mode:
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