1
0
forked from aniani/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".
This commit is contained in:
Bram Moolenaar
2019-06-06 16:12:12 +02:00
parent f6d50f1da8
commit 5d30ff1964
22 changed files with 63 additions and 61 deletions

View File

@@ -655,7 +655,7 @@ endfunc
func Test_textprop_screenshot_various()
" The Vim running in the terminal needs to use utf-8.
if !CanRunVimInTerminal() || g:orig_encoding != 'utf-8'
return
throw 'Skipped: cannot make screendumps or not using utf-8'
endif
call writefile([
\ "call setline(1, ["
@@ -750,7 +750,7 @@ endfunc
" screenshot test with Visual block mode operations
func Test_textprop_screenshot_visual()
if !CanRunVimInTerminal()
return
throw 'Skipped: cannot make screendumps'
endif
" Delete two columns while text props are three chars wide.