From: epriestley Date: Tue, 7 Jun 2011 17:48:16 +0000 (-0700) Subject: Use a consistent indent depth to display summary test results X-Git-Tag: conduit-4~321 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b763cecdb243fff2158c18a93df45b666b166de4;p=arcanist.git Use a consistent indent depth to display summary test results Summary: I typed the wrong number of spaces into some of these. Test Plan: Visual inspection, ran 'arc unit' Reviewed By: tuomaspelkonen Reviewers: tuomaspelkonen CC: aran, tuomaspelkonen Differential Revision: 402 --- diff --git a/src/workflow/unit/ArcanistUnitWorkflow.php b/src/workflow/unit/ArcanistUnitWorkflow.php index 0a53487e..f9716b96 100644 --- a/src/workflow/unit/ArcanistUnitWorkflow.php +++ b/src/workflow/unit/ArcanistUnitWorkflow.php @@ -102,17 +102,17 @@ EOTEXT $status_codes = array( ArcanistUnitTestResult::RESULT_PASS => phutil_console_format( - ' ** PASS **'), + '** PASS **'), ArcanistUnitTestResult::RESULT_FAIL => phutil_console_format( - ' ** FAIL **'), + '** FAIL **'), ArcanistUnitTestResult::RESULT_SKIP => phutil_console_format( - ' ** SKIP **'), + '** SKIP **'), ArcanistUnitTestResult::RESULT_BROKEN => phutil_console_format( - ' ** BROKEN **'), + '** BROKEN **'), ArcanistUnitTestResult::RESULT_UNSOUND => phutil_console_format( - ' ** UNSOUND **'), + '** UNSOUND **'), ArcanistUnitTestResult::RESULT_POSTPONED => phutil_console_format( - ' ** POSTPONED **'), + '** POSTPONED **'), ); $unresolved = array(); @@ -122,7 +122,7 @@ EOTEXT if ($result_code == ArcanistUnitTestResult::RESULT_POSTPONED) { $postponed_count++; } else { - echo $status_codes[$result_code].' '.$result->getName()."\n"; + echo ' '.$status_codes[$result_code].' '.$result->getName()."\n"; if ($result_code != ArcanistUnitTestResult::RESULT_PASS) { echo $result->getUserData()."\n"; $unresolved[] = $result;