]> granicus.if.org Git - vim/commitdiff
patch 8.2.3024: execute() function test fails v8.2.3024
authorBram Moolenaar <Bram@vim.org>
Sun, 20 Jun 2021 13:03:15 +0000 (15:03 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 20 Jun 2021 13:03:15 +0000 (15:03 +0200)
Problem:    execute() function test fails.
Solution:   Adjust test for different error.

src/testdir/test_execute_func.vim
src/version.c

index c08b2390f2d5693dcf7fe2fa28a6eca3ce581fff..aa73e0f317e99339829dfe623b6bff1da53d4084 100644 (file)
@@ -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
 
index d341ecd410c37d3fce3a86814d140b69ed6eb6d9..ff8e46675be640fb680d955a341bc23627b3da76 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3024,
 /**/
     3023,
 /**/