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