aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-07 01:11:15 +0000
committerjocuri%softhome.net <>2004-12-07 01:11:15 +0000
commitd4bbccb5447134e7b09426e3199ac869e7c97563 (patch)
treef9db080ef01695afeb45e75ff5e6a016633cc811 /t
parentPatch for bug 258711: move.pl should honour emailsuffix; patch by Marc Schuma... (diff)
downloadbugzilla-d4bbccb5447134e7b09426e3199ac869e7c97563.tar.gz
bugzilla-d4bbccb5447134e7b09426e3199ac869e7c97563.tar.bz2
bugzilla-d4bbccb5447134e7b09426e3199ac869e7c97563.zip
Patch for bug 270589: Make t/008filter.t accept empty template directives; patch by Marc Schumann <wurblzap@gmail.com>, r=justdave, r=myk, a=justdave.
Diffstat (limited to 't')
-rw-r--r--t/008filter.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/008filter.t b/t/008filter.t
index 531edf28e..bc8c6aa15 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -158,6 +158,9 @@ sub directive_ok {
$directive =~ s/^[+-]?\s*//;
$directive =~ s/\s*[+-]?$//;
+ # Empty directives are ok; they are usually line break helpers
+ return 1 if $directive eq '';
+
# Exclude those on the nofilter list
if (defined($safe{$file}{$directive})) {
$safe{$file}{$directive}++;