mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
vim-patch:8.1.1972: no proper test for getchar()
Problem: No proper test for getchar(). Solution: Add a test with special characters.5d712e4672
N/A patches for version.c: vim-patch:8.1.0285: compiler warning for conversion Problem: Compiler warning for conversion. Solution: Add a type cast. (Mike Williams)d7cc163570
vim-patch:8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp' Problem: MS-Windows: system() has temp file error with 'noshelltemp'. Solution: Check s_dont_use_vimrun. (Ken Takata, closes vim/vim#4754)0e6bfb9b2e
vim-patch:8.2.0240: using memory after it was freed Problem: Using memory after it was freed. (Dominique Pelle) Solution: Do not mix converion buffer with other buffer.408030e8d0
vim-patch:8.2.1549: "r" fails if 'esckeys' is off and modifyOtherKeys is used Problem: The "r" command fails for keys with modifiers if 'esckeys' is off and modifyOtherKeys is used. (Lauri Tirkkonen) Solution: Temporarily disable bracketed paste and modifyOtherKeys if 'esckeys' is off. (closes vim/vim#6809)ca774f6753
vim-patch:8.2.1676: compiler warnings for function typecast Problem: Compiler warnings for function typecast. Solution: Add an intermediate cast to "void *".a4224860a4
vim-patch:8.2.1696: unused (duplicate) macros Problem: Unused (duplicate) macros. Solution: Remove the macros.2c12f89055
This commit is contained in:
parent
569e75799d
commit
31513a6f2d
@ -1221,6 +1221,24 @@ func Test_reg_executing_and_recording()
|
||||
unlet s:reg_stat
|
||||
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 assert_equal("\<S-LeftMouse>", getchar())
|
||||
call assert_equal(1, v:mouse_win)
|
||||
call assert_equal(win_getid(1), v:mouse_winid)
|
||||
call assert_equal(1, v:mouse_lnum)
|
||||
call assert_equal(3, v:mouse_col)
|
||||
endfunc
|
||||
|
||||
func Test_libcall_libcallnr()
|
||||
if !has('libcall')
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user