diff src/testdir/test_cursor_func.vim @ 18035:11dca9732a48 v8.1.2013

patch 8.1.2013: more functions can be used as methods Commit: https://github.com/vim/vim/commit/f92e58cadb03156879e9bdbf6341bf662d9c87cc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 21:51:41 2019 +0200 patch 8.1.2013: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 22:00:04 +0200
parents 7a19c8d6bb9e
children 66964658cc3c
line wrap: on
line diff
--- a/src/testdir/test_cursor_func.vim
+++ b/src/testdir/test_cursor_func.vim
@@ -83,7 +83,7 @@ func Test_screenpos()
   call assert_equal({'row': winrow,
 	\ 'col': wincol + 0,
 	\ 'curscol': wincol + 7,
-	\ 'endcol': wincol + 7}, screenpos(winid, 1, 1))
+	\ 'endcol': wincol + 7}, winid->screenpos(1, 1))
   call assert_equal({'row': winrow,
 	\ 'col': wincol + 13,
 	\ 'curscol': wincol + 13,