]> granicus.if.org Git - vim/commitdiff
patch 8.1.2290: autocommand test fails v8.1.2290
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Nov 2019 20:25:45 +0000 (21:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Nov 2019 20:25:45 +0000 (21:25 +0100)
Problem:    Autocommand test fails.
Solution:   Remove 'closeoff' from 'diffopt'.

src/testdir/test_autocmd.vim
src/version.c

index 13febb0a85f40961eeddf17f900ec94fe2d8720e..eba365e399e0b874d4ffd2fc0ab16af70c0622bd 100644 (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!
index 205f2dc4532811f1cdc807af1e5dea32d71ea468..da05b0a6b99e1e576bd3e001a1d9e324c018cb84 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2290,
 /**/
     2289,
 /**/