aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-10 14:46:45 +0800
committerGitHub <noreply@github.com>2022-02-10 14:46:45 +0800
commit3b4bf887104465fc7e821939ccbc44e9884a7d06 (patch)
tree3e70e0b9775bca2ad1c3fbadb414725d3842f689 /src
parentdba1df63595adb2988f5502561b833201b504cc1 (diff)
parentde328de35bd90ce34d5771b1e85f4afddd3f179d (diff)
downloadrneovim-3b4bf887104465fc7e821939ccbc44e9884a7d06.tar.gz
rneovim-3b4bf887104465fc7e821939ccbc44e9884a7d06.tar.bz2
rneovim-3b4bf887104465fc7e821939ccbc44e9884a7d06.zip
Merge pull request #17355 from zeertzjq/test-screenpos
test(old): comment out WinBar instead of skipping Test_screenpos()
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_cursor_func.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/testdir/test_cursor_func.vim b/src/nvim/testdir/test_cursor_func.vim
index f2ffd50726..47e74a24d6 100644
--- a/src/nvim/testdir/test_cursor_func.vim
+++ b/src/nvim/testdir/test_cursor_func.vim
@@ -75,7 +75,6 @@ func Test_curswant_with_cursorline()
endfunc
func Test_screenpos()
- throw 'skipped: TODO: '
rightbelow new
rightbelow 20vsplit
call setline(1, ["\tsome text", "long wrapping line here", "next line"])
@@ -103,9 +102,10 @@ func Test_screenpos()
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
+ " Needs WinBar
+ " 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()