From b763cecdb243fff2158c18a93df45b666b166de4 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 7 Jun 2011 10:48:16 -0700 Subject: [PATCH] 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 --- src/workflow/unit/ArcanistUnitWorkflow.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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; -- 2.43.0