From 9e24bbb52f371cfb79c8bb8f37d2bdabf8c80d76 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 20 Aug 2019 03:07:42 +0200 Subject: 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". https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba Skips quite some (N/A) tests. vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916) --- src/nvim/testdir/test_highlight.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/testdir/test_highlight.vim') diff --git a/src/nvim/testdir/test_highlight.vim b/src/nvim/testdir/test_highlight.vim index e751fb5d16..78ec26fd05 100644 --- a/src/nvim/testdir/test_highlight.vim +++ b/src/nvim/testdir/test_highlight.vim @@ -532,7 +532,7 @@ endfunc func Test_cursorline_after_yank() if !CanRunVimInTerminal() - return + throw 'Skipped: cannot make screendumps' endif call writefile([ @@ -554,7 +554,7 @@ endfunc func Test_cursorline_with_visualmode() if !CanRunVimInTerminal() - return + throw 'Skipped: cannot make screendumps' endif call writefile([ -- cgit