From 0cae882dbd3bfbff8417cff9d5222f153ad78779 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. --- 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 4efa714c376..d341d721993 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 b479faa2920..ffc86843e8a 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 = <