[lintian] 01/01: t/scripts/strict.t: Fix syntax error
This is an automated email from the git hooks/post-receive script.
jwilk pushed a commit to branch master
in repository lintian.
commit cf3d20c090b026964ce758706a15d1f1a586e667
Author: Jakub Wilk <jwilk@debian.org>
Date: Sun Feb 7 16:54:08 2016 +0100
t/scripts/strict.t: Fix syntax error
---
t/scripts/strict.t | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/t/scripts/strict.t b/t/scripts/strict.t
index 0442b2c..a680c2c 100755
--- a/t/scripts/strict.t
+++ b/t/scripts/strict.t
@@ -4,9 +4,10 @@ use strict;
use warnings;
use autodie;
-use
- if $ENV{'LINTIAN_COVERAGE'}, 'Test::More',
- 'skip_all' => 'Not needed for coverage of Lintian';
+use Test::More;
+if ($ENV{'LINTIAN_COVERAGE'}) {
+ plan 'skip_all' => 'Not needed for coverage of Lintian';
+}
eval 'use Test::Strict';
plan skip_all => 'Test::Strict required to run this test' if $@;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: