diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2018-08-12 14:11:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 14:11:47 +0200 |
| commit | 1211fa09cfd30d6fcd15a897769586d39595a3e8 (patch) | |
| tree | a6a794c2027a80ebda169559e4e6583621a90819 /src/nvim/testdir/test_match.vim | |
| parent | ae24c9b27016a841121b1a01664b748b0a5cbeb7 (diff) | |
| parent | 8ad46a25cb8f774db378f29b0e4c43bce524b76e (diff) | |
| download | rneovim-1211fa09cfd30d6fcd15a897769586d39595a3e8.tar.gz rneovim-1211fa09cfd30d6fcd15a897769586d39595a3e8.tar.bz2 rneovim-1211fa09cfd30d6fcd15a897769586d39595a3e8.zip | |
Merge #8833 from janlazo/vim-8.0.1004
Diffstat (limited to 'src/nvim/testdir/test_match.vim')
| -rw-r--r-- | src/nvim/testdir/test_match.vim | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/nvim/testdir/test_match.vim b/src/nvim/testdir/test_match.vim index 066bb2f6a1..e608a2e58b 100644 --- a/src/nvim/testdir/test_match.vim +++ b/src/nvim/testdir/test_match.vim @@ -1,5 +1,5 @@ " Test for :match, :2match, :3match, clearmatches(), getmatches(), matchadd(), -" matchaddpos(), matcharg(), matchdelete(), matchstrpos() and setmatches(). +" matchaddpos(), matcharg(), matchdelete(), and setmatches(). function Test_match() highlight MyGroup1 term=bold ctermbg=red guibg=red @@ -150,18 +150,6 @@ function Test_match() highlight MyGroup3 NONE endfunc -func Test_matchstrpos() - call assert_equal(['ing', 4, 7], matchstrpos('testing', 'ing')) - - call assert_equal(['ing', 4, 7], matchstrpos('testing', 'ing', 2)) - - call assert_equal(['', -1, -1], matchstrpos('testing', 'ing', 5)) - - call assert_equal(['ing', 1, 4, 7], matchstrpos(['vim', 'testing', 'execute'], 'ing')) - - call assert_equal(['', -1, -1, -1], matchstrpos(['vim', 'testing', 'execute'], 'img')) -endfunc - func Test_matchaddpos() syntax on set hlsearch |