mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1542: Vim9: test with invalid SID does not work in the GUI
Problem: Vim9: test with invalid SID does not work in the GUI. Solution: Skip the test in the GUI.
This commit is contained in:
@@ -3261,6 +3261,9 @@ def Test_cmdline_win()
|
|||||||
enddef
|
enddef
|
||||||
|
|
||||||
def Test_invalid_sid()
|
def Test_invalid_sid()
|
||||||
|
# TODO: why does this not work in the GUI?
|
||||||
|
CheckNotGui
|
||||||
|
|
||||||
assert_fails('func <SNR>1234_func', 'E123:')
|
assert_fails('func <SNR>1234_func', 'E123:')
|
||||||
if RunVim([], ['wq Xdidit'], '+"func <SNR>1_func"')
|
if RunVim([], ['wq Xdidit'], '+"func <SNR>1_func"')
|
||||||
call assert_equal([], readfile('Xdidit'))
|
call assert_equal([], readfile('Xdidit'))
|
||||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1542,
|
||||||
/**/
|
/**/
|
||||||
1541,
|
1541,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user