]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1171: tests: wrong arguments passed to assert_equal() v9.1.1171
authorzeertzjq <zeertzjq@outlook.com>
Tue, 4 Mar 2025 20:33:57 +0000 (21:33 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 4 Mar 2025 20:33:57 +0000 (21:33 +0100)
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>
src/testdir/test_registers.vim
src/version.c

index 0ff1df84cf262727e342ca951e0f76f68a2476f9..981f9d227e89866fca5356d50a166903b7ff5eb7 100644 (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'
index 1a23fe9412dace9c8d3780dadb4719cbb0c45a9a..aac7ed1aeb3b963258840420512cc17a7128bc76 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1171,
 /**/
     1170,
 /**/