]> granicus.if.org Git - vim/commitdiff
patch 8.1.0206: duplicate test function name v8.1.0206
authorBram Moolenaar <Bram@vim.org>
Mon, 23 Jul 2018 02:49:23 +0000 (04:49 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 23 Jul 2018 02:49:23 +0000 (04:49 +0200)
Problem:    Duplicate test function name.
Solution:   Rename both functions.

src/testdir/test_glob2regpat.vim
src/testdir/test_modeline.vim
src/version.c

index fdf17946b63f386052c934ee79e5edeca247a720..e6e41f13e7c9611ecc2d5acbc40bd1212e9e9f6e 100644 (file)
@@ -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'))
index 6e49577e0e43b0477839d56978ee3874e560bc82..e278c16132374205b19a369197de14b8a8517f98 100644 (file)
@@ -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:')
index 23fea92c6911369e9169f852b9b7a764e3fbc1ec..36e2fcbc4926a7505b4970e5ab7412defba5bea3 100644 (file)
@@ -793,6 +793,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    206,
 /**/
     205,
 /**/