vim-patch:8.2.0502: Vim9: some code is not tested

Problem:    Vim9: some code is not tested.
Solution:   Add more tests.  Fix uncovered problems.

e8c4abbbd7

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2022-11-05 11:17:10 +08:00
parent 81722896e4
commit 45ca7d4a62
11 changed files with 28 additions and 18 deletions

View File

@@ -1296,7 +1296,7 @@ void ex_catch(exarg_T *eap)
eap->nextcmd = find_nextcmd(eap->arg);
} else {
pat = eap->arg + 1;
end = skip_regexp(pat, *eap->arg, true, NULL);
end = skip_regexp(pat, *eap->arg, true);
}
if (!give_up) {