Skip to content

Commit f78ee2b

Browse files
committed
patch 8.2.4507: test fails because of new error message
Problem: Test fails because of new error message. Solution: Avoid the test fails.
1 parent 24d9c05 commit f78ee2b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/testdir/test_vim9_cmd.vim

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,14 +1834,18 @@ def Test_no_space_after_command()
18341834
g #pat#cmd
18351835
END
18361836
v9.CheckDefAndScriptFailure(lines, 'E1242:', 1)
1837+
1838+
new
1839+
setline(1, 'some pat')
18371840
lines =<< trim END
1838-
g#pat#cmd
1841+
g#pat#print
18391842
END
18401843
v9.CheckDefAndScriptSuccess(lines)
18411844
lines =<< trim END
1842-
g# pat#cmd
1845+
g# pat#print
18431846
END
18441847
v9.CheckDefAndScriptSuccess(lines)
1848+
bwipe!
18451849

18461850
lines =<< trim END
18471851
s /pat/repl

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
4507,
757759
/**/
758760
4506,
759761
/**/

0 commit comments

Comments
 (0)