Skip to content

Commit

Permalink
patch 8.1.0206: duplicate test function name
Browse files Browse the repository at this point in the history
Problem:    Duplicate test function name.
Solution:   Rename both functions.
  • Loading branch information
brammool committed Jul 23, 2018
1 parent 9cf4b50 commit cd96eef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/testdir/test_glob2regpat.vim
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
" Test glob2regpat()

func Test_invalid()
func Test_glob2regpat_invalid()
call assert_fails('call glob2regpat(1.33)', 'E806:')
call assert_fails('call glob2regpat("}")', 'E219:')
call assert_fails('call glob2regpat("{")', 'E220:')
endfunc

func Test_valid()
func Test_glob2regpat_valid()
call assert_equal('^foo\.', glob2regpat('foo.*'))
call assert_equal('^foo.$', glob2regpat('foo?'))
call assert_equal('\.vim$', glob2regpat('*.vim'))
Expand Down
2 changes: 1 addition & 1 deletion src/testdir/test_modeline.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
" Tests for parsing the modeline.

func Test_invalid()
func Test_modeline_invalid()
" This was reading before allocated memory.
call writefile(['vi:0', 'nothing'], 'Xmodeline')
call assert_fails('split Xmodeline', 'E518:')
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
206,
/**/
205,
/**/
Expand Down

0 comments on commit cd96eef

Please sign in to comment.