Mercurial > vim
comparison src/testdir/test_clientserver.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 | 415185e2c970 |
children | 0da9bc55c31a |
comparison
equal
deleted
inserted
replaced
16964:45ff4207d530 | 16965:ba7727889385 |
---|---|
1 " Tests for the +clientserver feature. | 1 " Tests for the +clientserver feature. |
2 | 2 |
3 if !has('job') || !has('clientserver') | 3 if !has('job') || !has('clientserver') |
4 finish | 4 throw 'Skipped: job and/or clientserver feature missing' |
5 endif | 5 endif |
6 | 6 |
7 source shared.vim | 7 source shared.vim |
8 | 8 |
9 func Test_client_server() | 9 func Test_client_server() |