Patch 8.2.1542

6 views
Skip to first unread message

Bram Moolenaar

unread,
Aug 29, 2020, 4:59:53 PM8/29/20
to vim...@googlegroups.com

Patch 8.2.1542
Problem: Vim9: test with invalid SID does not work in the GUI.
Solution: Skip the test in the GUI.
Files: src/testdir/test_vim9_script.vim


*** ../vim-8.2.1541/src/testdir/test_vim9_script.vim 2020-08-29 17:47:05.013718945 +0200
--- src/testdir/test_vim9_script.vim 2020-08-29 22:55:37.535502512 +0200
***************
*** 3261,3266 ****
--- 3261,3269 ----
enddef

def Test_invalid_sid()
+ # TODO: why does this not work in the GUI?
+ CheckNotGui
+
assert_fails('func <SNR>1234_func', 'E123:')
if RunVim([], ['wq Xdidit'], '+"func <SNR>1_func"')
call assert_equal([], readfile('Xdidit'))
*** ../vim-8.2.1541/src/version.c 2020-08-29 17:47:05.013718945 +0200
--- src/version.c 2020-08-29 22:57:33.271179238 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1542,
/**/

--
"Intelligence has much less practical application than you'd think."
-- Scott Adams, Dilbert.

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