Skip to content

Commit 2fb1b89

Browse files
committed
patch 8.2.3024: execute() function test fails
Problem: execute() function test fails. Solution: Adjust test for different error.
1 parent ca81f0e commit 2fb1b89

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_execute_func.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func Test_execute_string()
4040
if has('float')
4141
call assert_fails('call execute(3.4)', 'E492:')
4242
call assert_equal("\nx", execute("echo \"x\"", 3.4))
43-
call CheckDefExecAndScriptFailure(['execute("echo \"x\"", 3.4)'], 'E806:')
43+
call CheckDefExecAndScriptFailure2(['execute("echo \"x\"", 3.4)'], 'E1013: Argument 2: type mismatch, expected string but got float', 'E806:')
4444
endif
4545
endfunc
4646

src/version.c

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

756756
static int included_patches[] =
757757
{ /* Add new patch number below this line */
758+
/**/
759+
3024,
758760
/**/
759761
3023,
760762
/**/

0 commit comments

Comments
 (0)