Skip to content

Commit cd96eef

Browse files
committed
patch 8.1.0206: duplicate test function name
Problem: Duplicate test function name. Solution: Rename both functions.
1 parent 9cf4b50 commit cd96eef

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/testdir/test_glob2regpat.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
" Test glob2regpat()
22

3-
func Test_invalid()
3+
func Test_glob2regpat_invalid()
44
call assert_fails('call glob2regpat(1.33)', 'E806:')
55
call assert_fails('call glob2regpat("}")', 'E219:')
66
call assert_fails('call glob2regpat("{")', 'E220:')
77
endfunc
88

9-
func Test_valid()
9+
func Test_glob2regpat_valid()
1010
call assert_equal('^foo\.', glob2regpat('foo.*'))
1111
call assert_equal('^foo.$', glob2regpat('foo?'))
1212
call assert_equal('\.vim$', glob2regpat('*.vim'))

src/testdir/test_modeline.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" Tests for parsing the modeline.
22

3-
func Test_invalid()
3+
func Test_modeline_invalid()
44
" This was reading before allocated memory.
55
call writefile(['vi:0', 'nothing'], 'Xmodeline')
66
call assert_fails('split Xmodeline', 'E518:')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,8 @@ static char *(features[]) =
793793

794794
static int included_patches[] =
795795
{ /* Add new patch number below this line */
796+
/**/
797+
206,
796798
/**/
797799
205,
798800
/**/

0 commit comments

Comments
 (0)