[lintian] 01/01: Run perltidy on Test::Lintian
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 51d0720700f57841fcf3b85d4ae4e501820ca8f4
Author: Niels Thykier <niels@thykier.net>
Date: Tue Jan 14 21:48:46 2014 +0100
Run perltidy on Test::Lintian
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Test/Lintian.pm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/lib/Test/Lintian.pm b/lib/Test/Lintian.pm
index 4bc5dc8..b724939 100644
--- a/lib/Test/Lintian.pm
+++ b/lib/Test/Lintian.pm
@@ -254,12 +254,14 @@ sub test_check_desc {
'Tag info does not speak of "I", or "we"')
or $builder->diag("$cname: $tag\n");
- $builder->ok($info !~ /(\S\w)\. [^ ]/ || $1 =~ '/^\.[ge]$/', # for 'e.g.'/'i.e.'
- 'Tag info uses two spaces after a full stop')
- or $builder->diag("$cname: $tag\n");
-
- $builder->ok($info !~ /(\S\w\. )/,
- 'Tag info uses only two spaces after a full stop')
+ $builder->ok(
+ $info !~ /(\S\w)\. [^ ]/
+ || $1 =~ '/^\.[ge]$/', # for 'e.g.'/'i.e.'
+ 'Tag info uses two spaces after a full stop'
+ ) or $builder->diag("$cname: $tag\n");
+
+ $builder->ok($info !~ /(\S\w\. )/,
+ 'Tag info uses only two spaces after a full stop')
or $builder->diag("$cname: $tag ($1)\n");
# Check the tag info for unescaped <> or for unknown tags (which
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: