diff options
-rw-r--r-- | t/009bugwords.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/009bugwords.t b/t/009bugwords.t index a4962f223..8abbe1606 100644 --- a/t/009bugwords.t +++ b/t/009bugwords.t @@ -79,7 +79,7 @@ foreach my $file (@testitems) { # "Bugzilla" if (grep /(?<!X\-)Bugzilla(?!_|::|->|\.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; } |