summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/009bugwords.t2
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(?!_|::|-&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;
}