summaryrefslogtreecommitdiff
path: root/src/testdir/test_search.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-24 20:50:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-24 20:50:19 +0200
commita4208966fb289a505ebdef62bbc37c214069bab4 (patch)
tree97ec3983559c99f47bdb9213f96a95f403af35f0 /src/testdir/test_search.vim
parentf63962378dc32c7253e4825b4b0f414a81c1dd3e (diff)
downloadvim-git-a4208966fb289a505ebdef62bbc37c214069bab4.tar.gz
patch 8.1.1921: more functions can be used as methodsv8.1.1921
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_search.vim')
-rw-r--r--src/testdir/test_search.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim
index 604f3c2ed..7c30a1ac0 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -1303,7 +1303,7 @@ func Test_search_display_pattern()
call cursor(1, 1)
let @/ = 'foo'
- let pat = escape(@/, '()*?'. '\s\+')
+ let pat = @/->escape('()*?'. '\s\+')
let g:a = execute(':unsilent :norm! n')
call assert_match(pat, g:a)