0
0
mirror of https://github.com/vim/vim.git synced 2025-10-28 09:27:14 -04:00

patch 8.2.1736: failure to compile a pattern not tested much

Problem:    Failure to compile a pattern not tested much.
Solution:   Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
            closes #7004)
This commit is contained in:
Bram Moolenaar
2020-09-23 22:38:05 +02:00
parent 851d108313
commit 531be47ac5
18 changed files with 47 additions and 1 deletions

View File

@@ -339,6 +339,7 @@ func Test_Debugger()
call delete('Xtest.vim')
%bw!
call assert_fails('breakadd here', 'E32:')
call assert_fails('breakadd file Xtest.vim /\)/', 'E55:')
endfunc
func Test_Backtrace_Through_Source()