changeset 24974:2d4cef0a8faa v8.2.3024

patch 8.2.3024: execute() function test fails Commit: https://github.com/vim/vim/commit/2fb1b89d721682585228f9a6ee7da4b6d3c6634d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 20 15:03:15 2021 +0200 patch 8.2.3024: execute() function test fails Problem: execute() function test fails. Solution: Adjust test for different error.
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Jun 2021 15:15:05 +0200
parents 304b93da4caf
children acf2c62bee13
files src/testdir/test_execute_func.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_execute_func.vim
+++ b/src/testdir/test_execute_func.vim
@@ -40,7 +40,7 @@ func Test_execute_string()
   if has('float')
     call assert_fails('call execute(3.4)', 'E492:')
     call assert_equal("\nx", execute("echo \"x\"", 3.4))
-    call CheckDefExecAndScriptFailure(['execute("echo \"x\"", 3.4)'], 'E806:')
+    call CheckDefExecAndScriptFailure2(['execute("echo \"x\"", 3.4)'], 'E1013: Argument 2: type mismatch, expected string but got float', 'E806:')
   endif
 endfunc
 
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3024,
+/**/
     3023,
 /**/
     3022,