1
0
forked from aniani/vim
Files
vim/src/testdir/test_glob2regpat.vim
2016-01-25 22:44:54 +01:00

11 lines
236 B
VimL

" 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