vim-patch:8.1.1483: skipped tests are not properly listed

Problem:    Skipped tests are not properly listed.
Solution:   Throw a "Skipped" exception instead of using ":finish" or ":return".
5d30ff1964

Skips quite some (N/A) tests.

vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916)
This commit is contained in:
Daniel Hahler
2019-08-20 03:07:42 +02:00
parent 77729b0800
commit 9e24bbb52f
10 changed files with 14 additions and 14 deletions

View File

@@ -496,8 +496,8 @@ endfunc
" Check highlighting for a small piece of C code with a screen dump.
func Test_syntax_c()
if !has('terminal')
return
if !CanRunVimInTerminal()
throw 'Skipped: cannot make screendumps'
endif
call writefile([
\ '/* comment line at the top */',