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_startup_utf8.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_startup_utf8.vim') diff --git a/src/testdir/test_startup_utf8.vim b/src/testdir/test_startup_utf8.vim index 8b3eca10d..1b3d2184a 100644 --- a/src/testdir/test_startup_utf8.vim +++ b/src/testdir/test_startup_utf8.vim @@ -63,7 +63,7 @@ endfunc func Test_detect_ambiwidth() if !CanRunVimInTerminal() - return + throw 'Skipped: cannot run Vim in a terminal window' endif " Use the title termcap entries to output the escape sequence. -- cgit v1.2.1