summaryrefslogtreecommitdiff
path: root/src/testdir/test_glob2regpat.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-31 19:13:58 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-31 19:13:58 +0200
commit5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3 (patch)
tree384a1f061d6dd2822e83adeff2f140191ed2f6de /src/testdir/test_glob2regpat.vim
parentf1699968baf3619a4147b44c891ba4a0985e7656 (diff)
downloadvim-git-5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3.tar.gz
patch 8.1.1952: more functions can be used as a methodv8.1.1952
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
Diffstat (limited to 'src/testdir/test_glob2regpat.vim')
-rw-r--r--src/testdir/test_glob2regpat.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_glob2regpat.vim b/src/testdir/test_glob2regpat.vim
index e6e41f13e..29c8d99ec 100644
--- a/src/testdir/test_glob2regpat.vim
+++ b/src/testdir/test_glob2regpat.vim
@@ -8,7 +8,7 @@ endfunc
func Test_glob2regpat_valid()
call assert_equal('^foo\.', glob2regpat('foo.*'))
- call assert_equal('^foo.$', glob2regpat('foo?'))
+ call assert_equal('^foo.$', 'foo?'->glob2regpat())
call assert_equal('\.vim$', glob2regpat('*.vim'))
call assert_equal('^[abc]$', glob2regpat('[abc]'))
call assert_equal('^foo bar$', glob2regpat('foo\ bar'))