patch 9.1.1171: tests: wrong arguments passed to assert_equal() Commit: https://github.com/vim/vim/commit/a95085e0fc2e46c7136982e8ba1ae91375991bfd Author: zeertzjq <zeert...@outlook.com> Date: Tue Mar 4 21:33:57 2025 +0100
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 <zeert...@outlook.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/testdir/test_registers.vim b/src/testdir/test_registers.vim index 0ff1df84c..981f9d227 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 1a23fe941..aac7ed1ae 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, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tpZ8R-008kAE-RS%40256bit.org.