From a5639848cc85f1226abad0f3ecf46b7847ce3fef Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 29 Aug 2020 22:59:17 +0200 Subject: [PATCH] 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. --- src/testdir/test_vim9_script.vim | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) 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 1234_func', 'E123:') if RunVim([], ['wq Xdidit'], '+"func 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 @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1542, /**/ 1541, /**/