mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -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:
@@ -3,12 +3,12 @@
|
||||
|
||||
" This only works with "iconv".
|
||||
if !has('iconv')
|
||||
finish
|
||||
throw 'Skipped: iconv feature missing'
|
||||
endif
|
||||
|
||||
source screendump.vim
|
||||
if !CanRunVimInTerminal()
|
||||
finish
|
||||
throw 'Skipped: cannot make screendumps'
|
||||
endif
|
||||
|
||||
" This Vim is running with 'encoding' "utf-8", the Vim in the terminal is
|
||||
|
Reference in New Issue
Block a user