Bugzilla – Attachment 79998 Details for
Bug 15734
Audio Alerts broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15734: Update missing filters test for json
Bug-15734-Update-missing-filters-test-for-json.patch (text/plain), 1.18 KB, created by
Josef Moravec
on 2018-10-05 07:03:14 UTC
(
hide
)
Description:
Bug 15734: Update missing filters test for json
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-10-05 07:03:14 UTC
Size:
1.18 KB
patch
obsolete
>From e3c1a386584a4c890a614697c01e27e9fbfd6d83 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Fri, 5 Oct 2018 06:55:59 +0000 >Subject: [PATCH] Bug 15734: Update missing filters test for json > >0) Apply only the first patch of this bug report >1) Run qa tools on the first patch - should return missing filters on >AUDIO_ALERTS line >2) Apply this patch >3) Run qa test tools on both patches - should be OK >--- > t/lib/QA/TemplateFilters.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/lib/QA/TemplateFilters.pm b/t/lib/QA/TemplateFilters.pm >index 2aa94b7..4f3eba8 100644 >--- a/t/lib/QA/TemplateFilters.pm >+++ b/t/lib/QA/TemplateFilters.pm >@@ -75,6 +75,7 @@ sub missing_filters { > && $tt_block !~ m{=} # assignment, maybe we should require to use SET (?) > && $tt_block !~ m{\|\s?ur(l|i)} # already has url or uri filter > && $tt_block !~ m{\|\s?html} # already has html filter >+ && $tt_block !~ m{\|\s?json} # already has json filter > && $tt_block !~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} # Specific for [% foo UNLESS bar %] > ; > } >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15734
:
47620
|
47621
|
47644
|
47735
|
79997
|
79998
|
80052
|
80053
|
80056
|
80057
|
80164
|
80165
|
80258
|
80259
|
80277