From: Bram Moolenaar Date: Tue, 17 Dec 2019 19:29:26 +0000 (+0100) Subject: patch 8.2.0016: test name used twice, option not restored properly X-Git-Tag: v8.2.0016 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a48e78e11f2b647183fd12f569020756b17d7683;p=thirdparty%2Fvim.git 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 "&". --- diff --git a/src/testdir/test_textformat.vim b/src/testdir/test_textformat.vim index 1364dd78c1..2223be952c 100644 --- 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 diff --git a/src/version.c b/src/version.c index ed57cd8d04..e299ee9741 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 16, /**/ 15, /**/