summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-29 22:59:17 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-29 22:59:17 +0200
commita5639848cc85f1226abad0f3ecf46b7847ce3fef (patch)
treeb2e85b280b202831e15f3322c284d7b953738746
parent95006e3dca099d3dc73d70d9872660308106e86c (diff)
downloadvim-git-a5639848cc85f1226abad0f3ecf46b7847ce3fef.tar.gz
patch 8.2.1542: Vim9: test with invalid SID does not work in the GUIv8.2.1542
Problem: Vim9: test with invalid SID does not work in the GUI. Solution: Skip the test in the GUI.
-rw-r--r--src/testdir/test_vim9_script.vim3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim
index 662024cbd..6d520a33e 100644
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -3261,6 +3261,9 @@ def Test_cmdline_win()
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'))
diff --git a/src/version.c b/src/version.c
index a76e129a5..1a66eb6a3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1542,
+/**/
1541,
/**/
1540,