diff options
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 f57a8aded..1046218a8 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -163,6 +163,9 @@ sub directive_ok { # Empty directives are ok; they are usually line break helpers return 1 if $directive eq ''; + # Make sure we're not looking for ./ in the $safe hash + $file =~ s#^\./##; + # Exclude those on the nofilter list if (defined($safe{$file}{$directive})) { $safe{$file}{$directive}++; |