summaryrefslogtreecommitdiffstats
path: root/t/008filter.t
diff options
context:
space:
mode:
Diffstat (limited to 't/008filter.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}++;