1
0
forked from aniani/vim

patch 8.1.0206: duplicate test function name

Problem:    Duplicate test function name.
Solution:   Rename both functions.
This commit is contained in:
Bram Moolenaar
2018-07-23 04:49:23 +02:00
parent 9cf4b5005f
commit cd96eef3a8
3 changed files with 5 additions and 3 deletions

View 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:')