aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2011-03-27 20:28:44 +0200
committerMarc Schumann <wurblzap@gmail.com>2011-03-27 20:28:44 +0200
commit4b6a0edcd181006967bf436e051b153131d4d994 (patch)
tree4ef51c08db31432b17932533a61da15acda5a5a2 /t
parentf6e585f272f8d1c1c3fbede3a5f4994c5da1e182 (diff)
downloadbugs-4b6a0edcd181006967bf436e051b153131d4d994.tar
bugs-4b6a0edcd181006967bf436e051b153131d4d994.tar.gz
bugs-4b6a0edcd181006967bf436e051b153131d4d994.tar.bz2
bugs-4b6a0edcd181006967bf436e051b153131d4d994.tar.xz
bugs-4b6a0edcd181006967bf436e051b153131d4d994.zip
Bug 645118: Allow "=" as pre_chomp and post_chomp modifier in templates.
r/a=mkanat
Diffstat (limited to '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 c0ee3b131..a2f96ae3e 100644
--- a/t/008filter.t
+++ b/t/008filter.t
@@ -110,7 +110,7 @@ foreach my $path (@Support::Templates::include_paths) {
# /g means we execute this loop for every match
# /s means we ignore linefeeds in the regexp matches
- while ($slurp =~ /\[%(?:-|\+|~)?(.*?)(?:-|\+|~)?%\]/gs) {
+ while ($slurp =~ /\[%(?:-|\+|~|=)?(.*?)(?:-|\+|~|=)?%\]/gs) {
my $directive = $1;
my @lineno = ($` =~ m/\n/gs);