mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 8.2.3344: vimscript test fails
Problem: Vimscript test fails. Solution: Have test verify first error instead of second
This commit is contained in:
parent
4830c211a4
commit
d2e9ccee90
@ -5657,7 +5657,12 @@ func Test_throw_multi_error()
|
||||
call EXEC(cmd . ' novar #') " normal plus syntax error
|
||||
catch /^Vim\((\a\+)\)\=:/
|
||||
Xloop 'e'
|
||||
call assert_match('E488: Trailing characters', v:exception)
|
||||
if cmd =~ 'unlet'
|
||||
" TODO: should get error for 'novar'
|
||||
call assert_match('E488: Trailing characters', v:exception)
|
||||
else
|
||||
call assert_match('E121: Undefined variable: novar', v:exception)
|
||||
endif
|
||||
finally
|
||||
Xloop 'f'
|
||||
call assert_equal("", v:errmsg)
|
||||
|
@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3344,
|
||||
/**/
|
||||
3343,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user