1
0
forked from aniani/vim

add missing test file

This commit is contained in:
Bram Moolenaar
2016-01-25 22:44:54 +01:00
parent 7465c6375f
commit ac80999985

View File

@@ -0,0 +1,10 @@
" 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