From 1900b15c9d2d7b115d31311b5d4ac8dd6d2b36ee Mon Sep 17 00:00:00 2001 From: Sahil Dua Date: Fri, 7 Oct 2016 15:23:47 +0200 Subject: [PATCH] JSONValidator: Improve title/subtitle to clarify usage (#3648) * JSONValidator: Improve title/subtitle to clarify usage Fixes #3643 * JSONValidator: Change title/subtitle in corresponding tests --- lib/DDG/Goodie/JSONValidator.pm | 4 ++-- t/JSONValidator.t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/DDG/Goodie/JSONValidator.pm b/lib/DDG/Goodie/JSONValidator.pm index 663f328c6..9ec06be4b 100644 --- a/lib/DDG/Goodie/JSONValidator.pm +++ b/lib/DDG/Goodie/JSONValidator.pm @@ -22,8 +22,8 @@ handle remainder => sub { id => "json_validator", data => { - title => 'JSON Validator', - subtitle => 'Enter JSON below, then click the button to get beautified version of JSON if it\'s valid' + title => 'JSON Beautifier & Validator', + subtitle => 'Enter JSON below, then click the button to get beautified version of JSON and check for any syntax errors' }, templates => { diff --git a/t/JSONValidator.t b/t/JSONValidator.t index 1cb995ea2..4d25d8338 100644 --- a/t/JSONValidator.t +++ b/t/JSONValidator.t @@ -20,8 +20,8 @@ sub build_structured_answer { id => "json_validator", data => { - title => 'JSON Validator', - subtitle => 'Enter JSON below, then click the button to get beautified version of JSON if it\'s valid' + title => 'JSON Beautifier & Validator', + subtitle => 'Enter JSON below, then click the button to get beautified version of JSON and check for any syntax errors' }, templates => {