[lintian] 01/01: T::Lintian: Use ok(0, ...) instead of fail(...)
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit ad79ffe95c81ae5ae0bf63b4df3e9837ccaa0fce
Author: Niels Thykier <niels@thykier.net>
Date: Sat Aug 6 11:47:37 2016 +0000
T::Lintian: Use ok(0, ...) instead of fail(...)
Because fail(...) does not exist...
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Test/Lintian.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Test/Lintian.pm b/lib/Test/Lintian.pm
index c11b378..23cd83c 100644
--- a/lib/Test/Lintian.pm
+++ b/lib/Test/Lintian.pm
@@ -236,7 +236,7 @@ sub test_check_desc {
check_spelling($d, $handler);
$builder->is_eq($mistakes, 0, "$cname Info has no spelling errors");
} else {
- $builder->fail("$cname has an Info field");
+ $builder->ok(0, "$cname has an Info field");
}
foreach my $tpara (@tagpara) {
my $tag = $tpara->{'tag'}//'';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: