mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
patch 8.1.2290: autocommand test fails
Problem: Autocommand test fails. Solution: Remove 'closeoff' from 'diffopt'.
This commit is contained in:
@ -1157,6 +1157,7 @@ func Test_OptionSet_diffmode_close()
|
||||
call setline(1, ['buffer 2', 'line 2', 'line 3', 'line4'])
|
||||
call assert_fails(':diffthis', 'E788')
|
||||
call assert_equal(1, &diff)
|
||||
set diffopt-=closeoff
|
||||
bw!
|
||||
call assert_fails(':diffoff!', 'E788')
|
||||
bw!
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2290,
|
||||
/**/
|
||||
2289,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user