projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa756b
)
INFRA-132 - CRM_Utils_JSTest - Spacing errors
author
Tim Otten
<totten@civicrm.org>
Tue, 13 Jan 2015 00:30:59 +0000
(16:30 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 13 Jan 2015 00:32:26 +0000
(16:32 -0800)
tests/phpunit/CRM/Utils/JSTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/CRM/Utils/JSTest.php
b/tests/phpunit/CRM/Utils/JSTest.php
index d5a43bb545342d694f7dbd45cc0ee6fd0f7abfda..3be4a6009794638af845eddb8bc6c61faef3f9ea 100644
(file)
--- 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