From b296b8ae23de846d87ae4e720d75934e8ea00d88 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 28 Oct 2021 15:27:00 +0200 Subject: [PATCH] Bug 29350: Don't need to escape the 'delete' TT methods Will be needed by bug 22605. Signed-off-by: Jonathan Druart --- t/lib/QA/TemplateFilters.pm | 1 + t/template_filters.t | 2 ++ 2 files changed, 3 insertions(+) diff --git a/t/lib/QA/TemplateFilters.pm b/t/lib/QA/TemplateFilters.pm index 4efa714c37..d341d72199 100644 --- a/t/lib/QA/TemplateFilters.pm +++ b/t/lib/QA/TemplateFilters.pm @@ -30,6 +30,7 @@ our @tt_directives = ( our @tt_methods = ( qr{\.push\(}, + qr{\.delete\(}, ); sub fix_filters { diff --git a/t/template_filters.t b/t/template_filters.t index b479faa292..ffc86843e8 100755 --- a/t/template_filters.t +++ b/t/template_filters.t @@ -307,10 +307,12 @@ subtest 'Do not escape TT methods' => sub { plan tests => 2; my $input = <