Sign in
fuchsia
/
third_party
/
vim
/
refs/tags/v7.4.1814
/
.
/
src
/
testdir
/
test_glob2regpat.vim
blob: 250ab2746ce8d6d12f021484d50cbb5a3497bde7 [
file
] [
log
] [
blame
]
" Test glob2regpat()
func Test_invalid()
call assert_fails('call glob2regpat(1.33)', 'E806:')
endfunc
func Test_valid()
call assert_equal('^foo\.', glob2regpat('foo.*'))
call assert_equal('\.vim$', glob2regpat('*.vim'))
endfunc