summaryrefslogtreecommitdiff
path: root/src/testdir/test_timers.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-31 21:28:02 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-31 21:28:02 +0200
commit494e9069cb32620f7688a7cb128a3feff827639e (patch)
treed78ea251927cc0f6c725b29b8559f3dc1f759078 /src/testdir/test_timers.vim
parente35a52aee718c881bdfa69a47a1068df6ab6c60a (diff)
downloadvim-git-494e9069cb32620f7688a7cb128a3feff827639e.tar.gz
patch 8.2.0866: not enough tests for buffer writingv8.2.0866
Problem: Not enough tests for buffer writing. Solution: Add more tests. Use CheckRunVimInTerminal in more places. (Yegappan Lakshmanan, closes #6167)
Diffstat (limited to 'src/testdir/test_timers.vim')
-rw-r--r--src/testdir/test_timers.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_timers.vim b/src/testdir/test_timers.vim
index 546df1ff7..639f5c2d1 100644
--- a/src/testdir/test_timers.vim
+++ b/src/testdir/test_timers.vim
@@ -324,9 +324,7 @@ func Test_timer_ex_mode()
endfunc
func Test_timer_restore_count()
- if !CanRunVimInTerminal()
- throw 'Skipped: cannot run Vim in a terminal window'
- endif
+ CheckRunVimInTerminal
" Check that v:count is saved and restored, not changed by a timer.
call writefile([
\ 'nnoremap <expr><silent> L v:count ? v:count . "l" : "l"',