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

@@ -723,7 +723,7 @@ endfunc
func Test_diff_with_cursorline()
if !CanRunVimInTerminal()
return
throw 'Skipped: cannot run Vim in a terminal window'
endif
call writefile([
@@ -750,7 +750,7 @@ endfunc
func Test_diff_of_diff()
if !CanRunVimInTerminal()
return
throw 'Skipped: cannot run Vim in a terminal window'
endif
if !has("rightleft")
throw 'Skipped: rightleft not supported'