Skip to content

Commit a563984

Browse files
committed
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.
1 parent 95006e3 commit a563984

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_vim9_script.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3261,6 +3261,9 @@ def Test_cmdline_win()
32613261
enddef
32623262

32633263
def Test_invalid_sid()
3264+
# TODO: why does this not work in the GUI?
3265+
CheckNotGui
3266+
32643267
assert_fails('func <SNR>1234_func', 'E123:')
32653268
if RunVim([], ['wq Xdidit'], '+"func <SNR>1_func"')
32663269
call assert_equal([], readfile('Xdidit'))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1542,
757759
/**/
758760
1541,
759761
/**/

0 commit comments

Comments
 (0)