]> granicus.if.org Git - vim/commitdiff
patch 8.2.5165: import test fails because 'diffexpr' isn't reset v8.2.5165
authorBram Moolenaar <Bram@vim.org>
Sun, 26 Jun 2022 17:01:00 +0000 (18:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 26 Jun 2022 17:01:00 +0000 (18:01 +0100)
Problem:    Import test fails because 'diffexpr' isn't reset.
Solution:   Reset 'diffexpr'.

src/testdir/test_vim9_import.vim
src/version.c

index 415a7a99a45f13eab821d13488f4226041cbfe37..f28b4adef30b0572220dc5adcf1d1f54d811e311 100644 (file)
@@ -1234,6 +1234,8 @@ def Run_Test_import_in_diffexpr()
   redraw
 
   diffoff!
+  set diffexpr=
+  set diffopt&
   bwipe!
   bwipe!
   delete('Xdiffexpr')
index d7f0a83f3e42eb14241f39327b7922f7aec68155..8e396cd17cc3e71512f043191ef1804a3bf628f2 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5165,
 /**/
     5164,
 /**/