vim-patch:ac80999

add missing test file

ac80999985
This commit is contained in:
lonerover 2017-03-12 11:31:50 +08:00
parent b2b15e6e13
commit ce6d2fbb61

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