From: Bram Moolenaar Date: Wed, 23 Dec 2020 11:50:20 +0000 (+0100) Subject: patch 8.2.2197: assert arguments order reversed X-Git-Tag: v8.2.2197 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f63a65f22b6a899925ba15adbb711e86251114e;p=thirdparty%2Fvim.git patch 8.2.2197: assert arguments order reversed Problem: Assert arguments order reversed. Solution: Swap the arguments. (Christian Brabandt, closes #7531) --- diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim index 14febad702..b2916f4d06 100644 --- a/src/testdir/test_registers.vim +++ b/src/testdir/test_registers.vim @@ -703,9 +703,9 @@ func Test_insert_small_delete() call setline(1, ['foo foobar bar']) call cursor(1,1) exe ":norm! ciw'\-'" - call assert_equal(getline(1), "'foo' foobar bar") + call assert_equal("'foo' foobar bar", getline(1)) exe ":norm! w.w." - call assert_equal(getline(1), "'foo' 'foobar' 'bar'") + call assert_equal("'foo' 'foobar' 'bar'", getline(1)) bwipe! endfunc diff --git a/src/version.c b/src/version.c index 435f3b8c51..493194f953 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2197, /**/ 2196, /**/