Patch 8.2.3024

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 20, 2021, 9:03:47 AM6/20/21
to vim...@googlegroups.com

Patch 8.2.3024 (after 8.2.3023)
Problem: execute() function test fails.
Solution: Adjust test for different error.
Files: src/testdir/test_execute_func.vim


*** ../vim-8.2.3023/src/testdir/test_execute_func.vim 2021-06-06 14:14:35.352774336 +0200
--- src/testdir/test_execute_func.vim 2021-06-20 15:01:46.463640041 +0200
***************
*** 40,46 ****
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:')
endif
endfunc

--- 40,46 ----
if has('float')
call assert_fails('call execute(3.4)', 'E492:')
call assert_equal("\nx", execute("echo \"x\"", 3.4))
! call CheckDefExecAndScriptFailure2(['execute("echo \"x\"", 3.4)'], 'E1013: Argument 2: type mismatch, expected string but got float', 'E806:')
endif
endfunc

*** ../vim-8.2.3023/src/version.c 2021-06-20 14:40:57.584007589 +0200
--- src/version.c 2021-06-20 15:02:51.235420114 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3024,
/**/

--
Q: What is the difference between open-source and commercial software?
A: If you have a problem with commercial software you can call a phone
number and they will tell you it might be solved in a future version.
For open-source software there isn't a phone number to call, but you
get the solution within a day.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages