From: lpsolit%gmail.com <> Date: Wed, 11 Jul 2007 22:31:13 +0000 (+0000) Subject: Bug 340350: 009bugwords.t barewords detection is imperfect - Patch by Frédéric... X-Git-Tag: bugzilla-3.0.1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=726e74ba96d6849efeaa2e59f9a6eb3a4545436e;p=thirdparty%2Fbugzilla.git Bug 340350: 009bugwords.t barewords detection is imperfect - Patch by Frédéric Buclin r=Colin a=LpSolit --- diff --git a/t/009bugwords.t b/t/009bugwords.t index bf3d91f26f..a4962f223b 100644 --- a/t/009bugwords.t +++ b/t/009bugwords.t @@ -68,7 +68,7 @@ foreach my $file (@testitems) { my $lineno = scalar(@lineno) + 1; # "a bug", "bug", "bugs" - if (grep /(a?[\s>]bugs?[\s.:;])/i, $text) { + if (grep /(a?[\s>]bugs?[\s.:;,])/i, $text) { # Exclude variable assignment. unless (grep /bugs =/, $text) { push(@errors, [$lineno, $text]);