summaryrefslogtreecommitdiffstats
path: root/t/008filter.t
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2005-10-28 19:19:43 +0200
committerwurblzap%gmail.com <>2005-10-28 19:19:43 +0200
commit4a27b93739abd5b76a5836156b420c3c078beb8b (patch)
tree5d3c06477879dd03f42110e2ad7bf4b391b1c1e9 /t/008filter.t
parentd02ababf933a55d951b0c04b65271ba4f2b7b772 (diff)
downloadbugzilla-4a27b93739abd5b76a5836156b420c3c078beb8b.tar.gz
bugzilla-4a27b93739abd5b76a5836156b420c3c078beb8b.tar.xz
Bug 313941: t/008filter.t should accept TRY/CATCH template directives
Patch by Dennis Melentyev <dennis.melentyev@infopulse.com.ua> r=wurblzap, a=justdave
Diffstat (limited to 't/008filter.t')
-rw-r--r--t/008filter.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/008filter.t b/t/008filter.t
index 61b3dc2b6..84ab3b2c7 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -172,7 +172,8 @@ sub directive_ok {
# Directives
return 1 if $directive =~ /^(IF|END|UNLESS|FOREACH|PROCESS|INCLUDE|
BLOCK|USE|ELSE|NEXT|LAST|DEFAULT|FLUSH|
- ELSIF|SET|SWITCH|CASE|WHILE)/x;
+ ELSIF|SET|SWITCH|CASE|WHILE|RETURN|STOP|
+ TRY|CATCH|FINAL|THROW|CLEAR)/x;
# ? :
if ($directive =~ /.+\?(.+):(.+)/) {