commit 97dc02687af76981fa202cb575445d670b66f1f1
parent 81ea44fa6aca27e6871d5baa158e2a5bcfa41981
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed, 5 Mar 2025 06:42:54 +0800
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'