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 <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2025-03-04 21:33:57 +01:00
committed by Christian Brabandt
parent 4ec46f3210
commit a95085e0fc
2 changed files with 3 additions and 1 deletions

View File

@ -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'

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1171,
/**/
1170,
/**/