summaryrefslogtreecommitdiff
path: root/src/testdir/test_vimscript.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_vimscript.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_vimscript.vim')
-rw-r--r--src/testdir/test_vimscript.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim
index 805787a7a..2ca4e752e 100644
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -1904,9 +1904,7 @@ endfunc
" Test for deep nesting of if/for/while/try statements {{{1
func Test_deep_nest()
- if !CanRunVimInTerminal()
- throw 'Skipped: cannot run vim in terminal'
- endif
+ CheckRunVimInTerminal
let lines =<< trim [SCRIPT]
" Deep nesting of if ... endif