From 97dc02687af76981fa202cb575445d670b66f1f1 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 5 Mar 2025 06:42:54 +0800 Subject: [PATCH] vim-patch:9.1.1171: tests: wrong arguments passed to assert_equal() (#32727) Problem: tests: wrong arguments passed to assert_equal() (after v9.1.1167). Solution: Swap arguments in the assert_equal() call (zeertzjq). closes: vim/vim#16782 https://github.com/vim/vim/commit/a95085e0fc2e46c7136982e8ba1ae91375991bfd --- test/old/testdir/test_registers.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/old/testdir/test_registers.vim b/test/old/testdir/test_registers.vim index 40cc5fe8fd..02da2ac689 100644 --- a/test/old/testdir/test_registers.vim +++ b/test/old/testdir/test_registers.vim @@ -1045,7 +1045,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'