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:
@@ -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'))
|
||||
|
Reference in New Issue
Block a user