From 5d30ff19648d2ff0696cea97582b902f6a4ec0ba Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 6 Jun 2019 16:12:12 +0200 Subject: 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". --- src/testdir/test_debugger.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_debugger.vim') diff --git a/src/testdir/test_debugger.vim b/src/testdir/test_debugger.vim index 4c3d6721f1..4528b2bdbc 100644 --- a/src/testdir/test_debugger.vim +++ b/src/testdir/test_debugger.vim @@ -22,7 +22,7 @@ endfunc " Debugger tests func Test_Debugger() if !CanRunVimInTerminal() - return + throw 'Skipped: cannot run Vim in a terminal window' endif " Create a Vim script with some functions -- cgit v1.2.3