diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-09 19:44:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 19:44:26 -0500 |
commit | cc23c95bccda06c9bbcadd919f4fb2f2545f1151 (patch) | |
tree | 5eb6745f2bd2723e1cca4f6f0d18d494c309aac9 /src/nvim/testdir | |
parent | e355cc8cc5c131e6df429107f321dd4a80c05065 (diff) | |
parent | 7da8056607331f12b912b4a7c65592ac317c2ff4 (diff) | |
download | rneovim-cc23c95bccda06c9bbcadd919f4fb2f2545f1151.tar.gz rneovim-cc23c95bccda06c9bbcadd919f4fb2f2545f1151.tar.bz2 rneovim-cc23c95bccda06c9bbcadd919f4fb2f2545f1151.zip |
Merge pull request #14088 from janlazo/vim-8.2.2577
vim-patch:8.1.0783,8.2.{1507,2152,2438,2577}
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_cursor_func.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cursor_func.vim b/src/nvim/testdir/test_cursor_func.vim index 2e190911b2..53b7da517e 100644 --- a/src/nvim/testdir/test_cursor_func.vim +++ b/src/nvim/testdir/test_cursor_func.vim @@ -92,6 +92,11 @@ func Test_screenpos() \ 'endcol': wincol + 9}, screenpos(winid, 2, 22)) close bwipe! + + call assert_equal({'col': 1, 'row': 1, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1)) + nmenu WinBar.TEST : + call assert_equal({'col': 1, 'row': 2, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1)) + nunmenu WinBar.TEST endfunc func Test_screenpos_number() |