mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test(old): change usage of Q to gQ
test(old) fix Test_ex_mode_count_overflow test(old) change usage of Q to gQ
This commit is contained in:
parent
684c782546
commit
df50fb5859
@ -85,7 +85,7 @@ endfunc
|
||||
func Test_ex_mode_count_overflow()
|
||||
" this used to cause a crash
|
||||
let lines =<< trim END
|
||||
call feedkeys("\<Esc>Q\<CR>")
|
||||
call feedkeys("\<Esc>gQ\<CR>")
|
||||
v9|9silent! vi|333333233333y32333333%O
|
||||
call writefile(['done'], 'Xdidexmode')
|
||||
qall!
|
||||
|
@ -137,7 +137,7 @@ func Test_substitute_repeat()
|
||||
" This caused an invalid memory access.
|
||||
split Xfile
|
||||
s/^/x
|
||||
call feedkeys("Qsc\<CR>y", 'tx')
|
||||
call feedkeys("gQsc\<CR>y", 'tx')
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
|
@ -279,7 +279,7 @@ func Test_ex_mode()
|
||||
endfunc
|
||||
let timer = timer_start(40, function('g:Foo'), {'repeat':-1})
|
||||
" This used to throw error E749.
|
||||
exe "normal Qsleep 100m\rvi\r"
|
||||
exe "normal gQsleep 100m\rvi\r"
|
||||
call timer_stop(timer)
|
||||
endfunc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user