patch 8.1.2290: autocommand test fails

Problem:    Autocommand test fails.
Solution:   Remove 'closeoff' from 'diffopt'.
This commit is contained in:
Bram Moolenaar
2019-11-10 21:25:45 +01:00
parent c823477979
commit a9aa86ff95
2 changed files with 3 additions and 0 deletions

View File

@ -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!

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2290,
/**/
2289,
/**/