diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-31 19:13:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-31 19:13:58 +0200 |
commit | 5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3 (patch) | |
tree | 384a1f061d6dd2822e83adeff2f140191ed2f6de /src/testdir/test_glob2regpat.vim | |
parent | f1699968baf3619a4147b44c891ba4a0985e7656 (diff) | |
download | vim-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.vim | 2 |
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')) |