Mercurial > vim
diff src/testdir/test_conceal.vim @ 16965:ba7727889385 v8.1.1483
patch 8.1.1483: skipped tests are not properly listed
commit https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 6 16:12:12 2019 +0200
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".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Jun 2019 16:15:05 +0200 |
parents | 9c90cf08cfa8 |
children | 0da9bc55c31a |
line wrap: on
line diff
--- a/src/testdir/test_conceal.vim +++ b/src/testdir/test_conceal.vim @@ -2,12 +2,12 @@ " Also see test88.in (should be converted to a test function here). if !has('conceal') - finish + throw 'Skipped: conceal feature missing' endif source screendump.vim if !CanRunVimInTerminal() - finish + throw 'Skipped: cannot make screendumps' endif func Test_conceal_two_windows()