mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1081
Problem: No test for what previously caused a crash. Solution: Add test for unletting errmsg.
This commit is contained in:
parent
f32c5cd6e0
commit
254b105b75
@ -7,6 +7,12 @@ func Test_read_only()
|
||||
catch
|
||||
call assert_true(v:exception =~ ':E795:')
|
||||
endtry
|
||||
try
|
||||
" this caused a crash
|
||||
unlet errmsg
|
||||
catch
|
||||
call assert_true(v:exception =~ ':E795:')
|
||||
endtry
|
||||
endfunc
|
||||
|
||||
func Test_existing()
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1081,
|
||||
/**/
|
||||
1080,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user