diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-15 17:58:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-15 17:58:09 +0200 |
commit | b46fecd3454399f8ebdc5055302e4bfc5a10f98b (patch) | |
tree | de87b06c8fed73aee6e5aa90c300023aa3602afa /src/testdir/test_reltime.vim | |
parent | b6e3b88ec8b757b3acf940f8b4938e975c39ba67 (diff) |
patch 8.1.1544: some balloon tests don't run when they canv8.1.1544
Problem: Some balloon tests don't run when they can.
Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
closes #4538) Change the feature check into a command for
consistency.
Diffstat (limited to 'src/testdir/test_reltime.vim')
-rw-r--r-- | src/testdir/test_reltime.vim | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/testdir/test_reltime.vim b/src/testdir/test_reltime.vim index 1876539103..404ea3f7aa 100644 --- a/src/testdir/test_reltime.vim +++ b/src/testdir/test_reltime.vim @@ -1,11 +1,8 @@ " Tests for reltime() -if !has('reltime') - throw 'Skipped, reltime feature missing' -endif -if !has('float') - throw 'Skipped, float feature missing' -endif +source check.vim +CheckFeature reltime +CheckFeature float func Test_reltime() let now = reltime() |