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:
parent
24d9c0557e
commit
f78ee2b49f
@ -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
|
||||||
|
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user