Commit af19852c authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 389407: api/Bugzilla/Auth.html incorrectly detected by t/009bugwords.t -…

Bug 389407: api/Bugzilla/Auth.html incorrectly detected by t/009bugwords.t - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
parent 0e319040
......@@ -79,7 +79,7 @@ foreach my $file (@testitems) {
# "Bugzilla"
if (grep /(?<!X\-)Bugzilla(?!_|::|-&gt|\.pm)/, $text) {
# Exclude JS comments, hyperlinks, USE, and variable assignment.
unless (grep /(\/\/.*|(org|api).*>|USE |= )Bugzilla/, $text) {
unless (grep /(\/\/.*|org.*>|api\/|USE |= )Bugzilla/, $text) {
push(@errors, [$lineno, $text]);
next;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment