diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-03 22:55:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-03 22:55:50 +0200 |
commit | 3c8ee629745737aa231fdd123826ae021e398e49 (patch) | |
tree | ede1f3b7673776045644a1059d14af30295cfe51 /src/testdir/check.vim | |
parent | ac92e25a33c37ec5becbfffeccda136c73b761ac (diff) | |
download | vim-git-3c8ee629745737aa231fdd123826ae021e398e49.tar.gz |
patch 8.1.1804: no test for display updating without a scroll regionv8.1.1804
Problem: No test for display updating without a scroll region.
Solution: Add a test.
Diffstat (limited to 'src/testdir/check.vim')
-rw-r--r-- | src/testdir/check.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/testdir/check.vim b/src/testdir/check.vim index 48dbd8539..5d61f0dba 100644 --- a/src/testdir/check.vim +++ b/src/testdir/check.vim @@ -37,3 +37,20 @@ func CheckUnix() throw 'Skipped: only works on Unix' endif endfunc + +" Command to check that making screendumps is supported. +" Caller must source screendump.vim +command CheckScreendump call CheckScreendump() +func CheckScreendump() + if !CanRunVimInTerminal() + throw 'Skipped: cannot make screendumps' + endif +endfunc + +" Command to check that we can Run Vim in a terminal window +command CheckRunVimInTerminal call CheckRunVimInTerminal() +func CheckRunVimInTerminal() + if !CanRunVimInTerminal() + throw 'Skipped: cannot run Vim in a terminal window' + endif +endfunc |