mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0206: duplicate test function name
Problem: Duplicate test function name. Solution: Rename both functions.
This commit is contained in:
parent
9cf4b5005f
commit
cd96eef3a8
@ -1,12 +1,12 @@
|
|||||||
" Test glob2regpat()
|
" Test glob2regpat()
|
||||||
|
|
||||||
func Test_invalid()
|
func Test_glob2regpat_invalid()
|
||||||
call assert_fails('call glob2regpat(1.33)', 'E806:')
|
call assert_fails('call glob2regpat(1.33)', 'E806:')
|
||||||
call assert_fails('call glob2regpat("}")', 'E219:')
|
call assert_fails('call glob2regpat("}")', 'E219:')
|
||||||
call assert_fails('call glob2regpat("{")', 'E220:')
|
call assert_fails('call glob2regpat("{")', 'E220:')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_valid()
|
func Test_glob2regpat_valid()
|
||||||
call assert_equal('^foo\.', glob2regpat('foo.*'))
|
call assert_equal('^foo\.', glob2regpat('foo.*'))
|
||||||
call assert_equal('^foo.$', glob2regpat('foo?'))
|
call assert_equal('^foo.$', glob2regpat('foo?'))
|
||||||
call assert_equal('\.vim$', glob2regpat('*.vim'))
|
call assert_equal('\.vim$', glob2regpat('*.vim'))
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
" Tests for parsing the modeline.
|
" Tests for parsing the modeline.
|
||||||
|
|
||||||
func Test_invalid()
|
func Test_modeline_invalid()
|
||||||
" This was reading before allocated memory.
|
" This was reading before allocated memory.
|
||||||
call writefile(['vi:0', 'nothing'], 'Xmodeline')
|
call writefile(['vi:0', 'nothing'], 'Xmodeline')
|
||||||
call assert_fails('split Xmodeline', 'E518:')
|
call assert_fails('split Xmodeline', 'E518:')
|
||||||
|
@ -793,6 +793,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
206,
|
||||||
/**/
|
/**/
|
||||||
205,
|
205,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user