From d4bbccb5447134e7b09426e3199ac869e7c97563 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Tue, 7 Dec 2004 01:11:15 +0000 Subject: Patch for bug 270589: Make t/008filter.t accept empty template directives; patch by Marc Schumann , r=justdave, r=myk, a=justdave. --- t/008filter.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't/008filter.t') 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}++; -- cgit v1.2.3-24-g4f1b