diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 14:47:17 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-05-25 15:20:55 -0400 |
commit | 0422cbae6b4e37676eaffb955648989801e0902b (patch) | |
tree | fac8e9552dfdff69a55eb51c0ccc50065cca806b | |
parent | e664c2a15858ea7e7a03c9968ea3f44d71041658 (diff) | |
download | rneovim-0422cbae6b4e37676eaffb955648989801e0902b.tar.gz rneovim-0422cbae6b4e37676eaffb955648989801e0902b.tar.bz2 rneovim-0422cbae6b4e37676eaffb955648989801e0902b.zip |
vim-patch:8.1.0206: duplicate test function name
Problem: Duplicate test function name.
Solution: Rename both functions.
https://github.com/vim/vim/commit/cd96eef3a869557bd3d2d4497861d87cb525db06
-rw-r--r-- | src/nvim/testdir/test_glob2regpat.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_glob2regpat.vim b/src/nvim/testdir/test_glob2regpat.vim index fdf17946b6..e6e41f13e7 100644 --- a/src/nvim/testdir/test_glob2regpat.vim +++ b/src/nvim/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')) |