aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cursor_func.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-23 08:36:22 +0800
committerGitHub <noreply@github.com>2022-08-23 08:36:22 +0800
commit48a4657aee76e41d097b0730c91bcca78b5bc9c7 (patch)
tree194dcaf49382d2b1577fd95b9de7cfacf9513da0 /src/nvim/testdir/test_cursor_func.vim
parent2fd25fb909fd4472c46c8c3c652b21d70bac9e77 (diff)
downloadrneovim-48a4657aee76e41d097b0730c91bcca78b5bc9c7.tar.gz
rneovim-48a4657aee76e41d097b0730c91bcca78b5bc9c7.tar.bz2
rneovim-48a4657aee76e41d097b0730c91bcca78b5bc9c7.zip
vim-patch:8.1.{1915,1921,1953} (#19900)
vim-patch:8.1.1915: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/1a3a89168d61c2fed91cbca812cf1c6983901b79 Move debugbreak() to the right place. vim-patch:8.1.1921: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/a4208966fb289a505ebdef62bbc37c214069bab4 vim-patch:8.1.1953: more functions can be used as a method Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method. https://github.com/vim/vim/commit/f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 Omit test_termcodes.vim: cannot be used and superseded by later patches. Cherry-pick test_bufline.vim change from patch 8.1.1993.
Diffstat (limited to 'src/nvim/testdir/test_cursor_func.vim')
-rw-r--r--src/nvim/testdir/test_cursor_func.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_cursor_func.vim b/src/nvim/testdir/test_cursor_func.vim
index 3b8a5f27ad..f13842edc8 100644
--- a/src/nvim/testdir/test_cursor_func.vim
+++ b/src/nvim/testdir/test_cursor_func.vim
@@ -22,7 +22,7 @@ func Test_move_cursor()
call cursor(3, 0)
call assert_equal([3, 1, 0, 1], getcurpos()[1:])
" below last line goes to last line
- call cursor(9, 1)
+ eval [9, 1]->cursor()
call assert_equal([4, 1, 0, 1], getcurpos()[1:])
" pass string arguments
call cursor('3', '3')