aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_functions.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-09-26 11:56:45 -0400
committerGitHub <noreply@github.com>2020-09-26 11:56:45 -0400
commit430ad9ab20b97b4c9a60732117e618bbe5236765 (patch)
tree0925ffd408f3dc052dba61117791f5aeaca878d7 /src/nvim/testdir/test_functions.vim
parent4a996bc431163b2a7b8e4bf3351d862887a78f83 (diff)
parente22c15682a76b6c531fea5b6d8896ecbaf582253 (diff)
downloadrneovim-430ad9ab20b97b4c9a60732117e618bbe5236765.tar.gz
rneovim-430ad9ab20b97b4c9a60732117e618bbe5236765.tar.bz2
rneovim-430ad9ab20b97b4c9a60732117e618bbe5236765.zip
Merge pull request #12986 from janlazo/vim-8.2.1738
vim-patch:8.1.{524,1613},8.2.{1088,1713,1715,1717,1721,1725,1735,1738,1745}
Diffstat (limited to 'src/nvim/testdir/test_functions.vim')
-rw-r--r--src/nvim/testdir/test_functions.vim14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim
index c29e0410a9..8fa70a5313 100644
--- a/src/nvim/testdir/test_functions.vim
+++ b/src/nvim/testdir/test_functions.vim
@@ -1222,16 +1222,16 @@ func Test_reg_executing_and_recording()
endfunc
func Test_getchar()
- throw 'skipped: Nvim does not support test_setmouse()'
call feedkeys('a', '')
call assert_equal(char2nr('a'), getchar())
- call test_setmouse(1, 3)
- let v:mouse_win = 9
- let v:mouse_winid = 9
- let v:mouse_lnum = 9
- let v:mouse_col = 9
- call feedkeys("\<S-LeftMouse>", '')
+ " call test_setmouse(1, 3)
+ " let v:mouse_win = 9
+ " let v:mouse_winid = 9
+ " let v:mouse_lnum = 9
+ " let v:mouse_col = 9
+ " call feedkeys("\<S-LeftMouse>", '')
+ call nvim_input_mouse('left', 'press', 'S', 0, 0, 2)
call assert_equal("\<S-LeftMouse>", getchar())
call assert_equal(1, v:mouse_win)
call assert_equal(win_getid(1), v:mouse_winid)