0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -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:
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

@@ -748,7 +748,7 @@ endfunc
func Test_diff_screen()
if !CanRunVimInTerminal() || !has('menu')
return
throw 'Skipped: cannot make screendumps and/or menu feature missing'
endif
" clean up already existing swap files, just in case
call delete('.Xfile1.swp')
@@ -880,7 +880,7 @@ endfunc
func Test_diff_with_cursorline()
if !CanRunVimInTerminal()
return
throw 'Skipped: cannot run Vim in a terminal window'
endif
call writefile([
@@ -907,7 +907,7 @@ endfunc
func Test_diff_of_diff()
if !CanRunVimInTerminal()
return
throw 'Skipped: cannot run Vim in a terminal window'
endif
call writefile([