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
|
catch
|
||||||
call assert_true(v:exception =~ ':E795:')
|
call assert_true(v:exception =~ ':E795:')
|
||||||
endtry
|
endtry
|
||||||
|
try
|
||||||
|
" this caused a crash
|
||||||
|
unlet errmsg
|
||||||
|
catch
|
||||||
|
call assert_true(v:exception =~ ':E795:')
|
||||||
|
endtry
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_existing()
|
func Test_existing()
|
||||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1081,
|
||||||
/**/
|
/**/
|
||||||
1080,
|
1080,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user