diff options
author | Axel Dahlberg <git@valleymnt.com> | 2021-12-17 08:25:06 +0100 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2021-12-18 08:54:07 -0700 |
commit | df50fb5859250fd90b6bceb1f741f39a370a5241 (patch) | |
tree | 993a3db05643fb20205fea27cda492231ba0a0c3 /src | |
parent | 684c782546c04c453a12376bd5d6f57da3948235 (diff) | |
download | rneovim-df50fb5859250fd90b6bceb1f741f39a370a5241.tar.gz rneovim-df50fb5859250fd90b6bceb1f741f39a370a5241.tar.bz2 rneovim-df50fb5859250fd90b6bceb1f741f39a370a5241.zip |
test(old): change usage of Q to gQ
test(old) fix Test_ex_mode_count_overflow
test(old) change usage of Q to gQ
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_ex_mode.vim | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_substitute.vim | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_timers.vim | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_ex_mode.vim b/src/nvim/testdir/test_ex_mode.vim index 1c645ad0f8..92e0559618 100644 --- a/src/nvim/testdir/test_ex_mode.vim +++ b/src/nvim/testdir/test_ex_mode.vim @@ -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! diff --git a/src/nvim/testdir/test_substitute.vim b/src/nvim/testdir/test_substitute.vim index 113c85acef..20b760ac15 100644 --- a/src/nvim/testdir/test_substitute.vim +++ b/src/nvim/testdir/test_substitute.vim @@ -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 diff --git a/src/nvim/testdir/test_timers.vim b/src/nvim/testdir/test_timers.vim index 5cc0da2586..aae315b2c5 100644 --- a/src/nvim/testdir/test_timers.vim +++ b/src/nvim/testdir/test_timers.vim @@ -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 |