changeset 18910:e8fe65da4198 v8.2.0016

patch 8.2.0016: test name used twice, option not restored properly Commit: https://github.com/vim/vim/commit/a48e78e11f2b647183fd12f569020756b17d7683 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 17 20:29:26 2019 +0100 patch 8.2.0016: test name used twice, option not restored properly Problem: Test name used twice, option not restored properly. Solution: Rename function, restore option with "&".
author Bram Moolenaar <Bram@vim.org>
date Tue, 17 Dec 2019 20:30:04 +0100
parents 1e18ba13a32c
children 69640323f7ca
files src/testdir/test_textformat.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_textformat.vim
+++ b/src/testdir/test_textformat.vim
@@ -906,7 +906,7 @@ func Test_ra_multibyte()
 endfunc
 
 " Test for 'whichwrap' with multi-byte character
-func Test_whichwrap()
+func Test_whichwrap_multi_byte()
   new
   let t =<< trim END
     á
@@ -917,7 +917,7 @@ func Test_whichwrap()
 
   set whichwrap+=h
   normal dh
-  set whichwrap-=h
+  set whichwrap&
 
   let expected =<< trim END
     áx
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    16,
+/**/
     15,
 /**/
     14,