Mercurial > vim
diff src/testdir/test_registers.vim @ 34951:4e8ba4866760 v9.1.0332
patch 9.1.0332: tests: some assert_equal() calls have wrong order of args
Commit: https://github.com/vim/vim/commit/757f32141bb8ce797f71e7e22e59ba368e0f4952
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Apr 15 19:01:04 2024 +0200
patch 9.1.0332: tests: some assert_equal() calls have wrong order of args
Problem: tests: some assert_equal() calls have wrong order of args
Solution: Correct the order (zeertzjq).
closes: #14555
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 15 Apr 2024 19:15:02 +0200 |
parents | f8f45612de4e |
children | 59d23ae7dbb0 |
line wrap: on
line diff
--- a/src/testdir/test_registers.vim +++ b/src/testdir/test_registers.vim @@ -797,13 +797,13 @@ func Test_ve_blockpaste() call cursor(1,1) exe ":norm! \<C-V>3ljdP" call assert_equal(1, col('.')) - call assert_equal(getline(1, 2), ['QWERTZ', 'ASDFGH']) + call assert_equal(['QWERTZ', 'ASDFGH'], getline(1, 2)) call cursor(1,1) exe ":norm! \<C-V>3ljd" call cursor(1,1) norm! $3lP call assert_equal(5, col('.')) - call assert_equal(getline(1, 2), ['TZ QWER', 'GH ASDF']) + call assert_equal(['TZ QWER', 'GH ASDF'], getline(1, 2)) set ve&vim bwipe! endfunc