From: zeertzjq Date: Tue, 4 Mar 2025 20:33:57 +0000 (+0100) Subject: patch 9.1.1171: tests: wrong arguments passed to assert_equal() X-Git-Tag: v9.1.1171^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a95085e0fc2e46c7136982e8ba1ae91375991bfd;p=thirdparty%2Fvim.git patch 9.1.1171: tests: wrong arguments passed to assert_equal() Problem: tests: wrong arguments passed to assert_equal() (after v9.1.1167). Solution: Swap arguments in the assert_equal() call (zeertzjq). closes: #16782 Signed-off-by: zeertzjq Signed-off-by: Christian Brabandt --- diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim index 0ff1df84cf..981f9d227e 100644 --- a/src/testdir/test_registers.vim +++ b/src/testdir/test_registers.vim @@ -1162,7 +1162,7 @@ func Test_mark_from_yank() normal! yi" call assert_equal([0, 1, 10, 0], getpos("']")) normal! ya" - call assert_equal(getpos("']"), [0, 1, 13, 0], getpos("']")) + call assert_equal([0, 1, 13, 0], getpos("']")) " single quote object call setline(1, 'test ''yank'' mark') normal! yi' diff --git a/src/version.c b/src/version.c index 1a23fe9412..aac7ed1aeb 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1171, /**/ 1170, /**/