Mercurial > vim
diff src/testdir/test_search.vim @ 15935:ff00d207cc5e v8.1.0973
patch 8.1.0973: pattern with syntax error gives threee error messages
commit https://github.com/vim/vim/commit/cd62512c5595fa1f7a7f2c6ec1a90ea6bde3ad50
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 22 17:29:43 2019 +0100
patch 8.1.0973: pattern with syntax error gives threee error messages
Problem: Pattern with syntax error gives threee error messages. (Kuang-che
Wu)
Solution: Remove outdated internal error. Don't fall back to other engine
after an error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 Feb 2019 17:30:06 +0100 |
parents | 98d315176d48 |
children | 4feaa025491b |
line wrap: on
line diff
--- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -1220,3 +1220,8 @@ func Test_large_hex_chars() call assert_match('E678:', v:exception) endtry endfunc + +func Test_one_error_msg() + " This was also giving an internal error + call assert_fails('call search(" \\((\\v[[=P=]]){185}+ ")', 'E871:') +endfunc