summaryrefslogtreecommitdiffstats
path: root/t/009bugwords.t
diff options
context:
space:
mode:
Diffstat (limited to 't/009bugwords.t')
-rw-r--r--t/009bugwords.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/009bugwords.t b/t/009bugwords.t
index 5b1a9d6ba..bf3d91f26 100644
--- a/t/009bugwords.t
+++ b/t/009bugwords.t
@@ -77,9 +77,9 @@ foreach my $file (@testitems) {
}
# "Bugzilla"
- if (grep /(?<!X\-)Bugzilla(?!_)/, $text) {
- # Exclude JS comments, hyperlinks, USE and variable assignment.
- unless (grep /(\/\/.*|org.*>|USE |= )Bugzilla/, $text) {
+ if (grep /(?<!X\-)Bugzilla(?!_|::|-&gt|\.pm)/, $text) {
+ # Exclude JS comments, hyperlinks, USE, and variable assignment.
+ unless (grep /(\/\/.*|(org|api).*>|USE |= )Bugzilla/, $text) {
push(@errors, [$lineno, $text]);
next;
}