From 0c7a859978ab4d88216d3805e64c4f585b8eb81d Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 12 Jan 2015 16:30:59 -0800 Subject: [PATCH] INFRA-132 - CRM_Utils_JSTest - Spacing errors --- tests/phpunit/CRM/Utils/JSTest.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/phpunit/CRM/Utils/JSTest.php b/tests/phpunit/CRM/Utils/JSTest.php index d5a43bb545..3be4a60097 100644 --- a/tests/phpunit/CRM/Utils/JSTest.php +++ b/tests/phpunit/CRM/Utils/JSTest.php @@ -61,15 +61,14 @@ class CRM_Utils_JSTest extends CiviUnitTestCase { array(), ); $cases[] = array(// with arg - ' - public function whits() { - for (a in b) { - mitts("wallaby", function(zoo) { - alert(zoo + ts("Hello")) - }); - } - } - ', + "\n" . + "public function whits() {\n" . + " for (a in b) {\n" . + " mitts(\"wallaby\", function(zoo) {\n" . + " alert(zoo + ts(\"Hello\"))\n" . + " });\n" . + " }\n" . + "}\n", array('Hello'), ); $cases[] = array(// duplicate -- 2.25.1