diff options
author | wurblzap%gmail.com <> | 2005-10-28 19:19:43 +0200 |
---|---|---|
committer | wurblzap%gmail.com <> | 2005-10-28 19:19:43 +0200 |
commit | 4a27b93739abd5b76a5836156b420c3c078beb8b (patch) | |
tree | 5d3c06477879dd03f42110e2ad7bf4b391b1c1e9 | |
parent | d02ababf933a55d951b0c04b65271ba4f2b7b772 (diff) | |
download | bugzilla-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
-rw-r--r-- | t/008filter.t | 3 |
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 =~ /.+\?(.+):(.+)/) { |