summaryrefslogtreecommitdiffstats
path: root/t/008filter.t
diff options
context:
space:
mode:
Diffstat (limited to 't/008filter.t')
-rw-r--r--t/008filter.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/008filter.t b/t/008filter.t
index 5594a26e7..cc5c63f4b 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -202,7 +202,7 @@ sub directive_ok {
return 1 if $directive =~ /^(time2str|GetBugLink|url)\(/;
# Safe Template Toolkit virtual methods
- return 1 if $directive =~ /\.((size)$|(push))/;
+ return 1 if $directive =~ /\.(length$|size$|push\()/;
# Special Template Toolkit loop variable
return 1 if $directive =~ /^loop\.(index|count)$/;