diff options
author | jocuri%softhome.net <> | 2004-12-07 02:11:15 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-12-07 02:11:15 +0100 |
commit | d4bbccb5447134e7b09426e3199ac869e7c97563 (patch) | |
tree | f9db080ef01695afeb45e75ff5e6a016633cc811 /t | |
parent | c66a20756d1ff38efce0ffd4bd63ccf8651127c9 (diff) | |
download | bugzilla-d4bbccb5447134e7b09426e3199ac869e7c97563.tar.gz bugzilla-d4bbccb5447134e7b09426e3199ac869e7c97563.tar.xz |
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.t | 3 |
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}++; |