mirror of
https://github.com/vim/vim
synced 2025-07-17 17:52:07 +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 setline(1, ['buffer 2', 'line 2', 'line 3', 'line4'])
|
||||||
call assert_fails(':diffthis', 'E788')
|
call assert_fails(':diffthis', 'E788')
|
||||||
call assert_equal(1, &diff)
|
call assert_equal(1, &diff)
|
||||||
|
set diffopt-=closeoff
|
||||||
bw!
|
bw!
|
||||||
call assert_fails(':diffoff!', 'E788')
|
call assert_fails(':diffoff!', 'E788')
|
||||||
bw!
|
bw!
|
||||||
|
@ -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 */
|
||||||
|
/**/
|
||||||
|
2290,
|
||||||
/**/
|
/**/
|
||||||
2289,
|
2289,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user