Mercurial > vim
changeset 14383:8846b8344430 v8.1.0206
patch 8.1.0206: duplicate test function name
commit https://github.com/vim/vim/commit/cd96eef3a869557bd3d2d4497861d87cb525db06
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 23 04:49:23 2018 +0200
patch 8.1.0206: duplicate test function name
Problem: Duplicate test function name.
Solution: Rename both functions.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 23 Jul 2018 05:00:05 +0200 |
parents | c3c3a4560106 |
children | 6f01954c86e5 |
files | src/testdir/test_glob2regpat.vim src/testdir/test_modeline.vim src/version.c |
diffstat | 3 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_glob2regpat.vim +++ b/src/testdir/test_glob2regpat.vim @@ -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'))
--- a/src/testdir/test_modeline.vim +++ b/src/testdir/test_modeline.vim @@ -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:')