0
0
mirror of https://github.com/vim/vim.git synced 2025-10-07 05:54:16 -04:00

patch 8.2.0866: not enough tests for buffer writing

Problem:    Not enough tests for buffer writing.
Solution:   Add more tests. Use CheckRunVimInTerminal in more places.
            (Yegappan Lakshmanan, closes #6167)
This commit is contained in:
Bram Moolenaar
2020-05-31 21:28:02 +02:00
parent e35a52aee7
commit 494e9069cb
16 changed files with 167 additions and 57 deletions

View File

@@ -597,9 +597,7 @@ endfunc
" Check highlighting for a small piece of C code with a screen dump.
func Test_syntax_c()
if !CanRunVimInTerminal()
throw 'Skipped: cannot make screendumps'
endif
CheckRunVimInTerminal
call writefile([
\ '/* comment line at the top */',
\ 'int main(int argc, char **argv) { // another comment',