Problem: Vim9: test with invalid SID is skipped in the GUI.
Solution: Read the CTRL-C that feedkeys() put in typeahead.
assert_equal(100, x)
endtry
assert_true(caught, 'should have caught an exception')
+ # consume the CTRL-C
+ getchar(0)
enddef
def Test_automatic_line_continuation()
" caught
endtry
- call delete('Xvim9script.vium')
+ call delete('Xvim9script.vim')
endfunc
def Test_vim9_copen()
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'))
endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1543,
/**/
1542,
/**/