mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
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".
This commit is contained in:
@@ -536,7 +536,7 @@ endfunc
|
||||
" Check highlighting for a small piece of C code with a screen dump.
|
||||
func Test_syntax_c()
|
||||
if !CanRunVimInTerminal()
|
||||
return
|
||||
throw 'Skipped: cannot make screendumps'
|
||||
endif
|
||||
call writefile([
|
||||
\ '/* comment line at the top */',
|
||||
|
Reference in New Issue
Block a user