0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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:
Bram Moolenaar
2020-08-29 22:59:17 +02:00
parent 95006e3dca
commit a5639848cc
2 changed files with 5 additions and 0 deletions

View File

@@ -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'))