0
0
mirror of https://github.com/vim/vim.git synced 2025-08-29 20:33:37 -04:00

patch 8.2.4507: test fails because of new error message

Problem:    Test fails because of new error message.
Solution:   Avoid the test fails.
This commit is contained in:
Bram Moolenaar 2022-03-04 23:22:27 +00:00
parent 24d9c0557e
commit f78ee2b49f
2 changed files with 8 additions and 2 deletions

View File

@ -1834,14 +1834,18 @@ def Test_no_space_after_command()
g #pat#cmd g #pat#cmd
END END
v9.CheckDefAndScriptFailure(lines, 'E1242:', 1) v9.CheckDefAndScriptFailure(lines, 'E1242:', 1)
new
setline(1, 'some pat')
lines =<< trim END lines =<< trim END
g#pat#cmd g#pat#print
END END
v9.CheckDefAndScriptSuccess(lines) v9.CheckDefAndScriptSuccess(lines)
lines =<< trim END lines =<< trim END
g# pat#cmd g# pat#print
END END
v9.CheckDefAndScriptSuccess(lines) v9.CheckDefAndScriptSuccess(lines)
bwipe!
lines =<< trim END lines =<< trim END
s /pat/repl s /pat/repl

View File

@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4507,
/**/ /**/
4506, 4506,
/**/ /**/