1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-25 15:00:57 +01:00

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
This commit is contained in:
epriestley 2011-06-07 10:48:16 -07:00
parent fe9daa7ae3
commit b763cecdb2

View file

@ -102,17 +102,17 @@ EOTEXT
$status_codes = array(
ArcanistUnitTestResult::RESULT_PASS => phutil_console_format(
' <bg:green>** PASS **</bg>'),
'<bg:green>** PASS **</bg>'),
ArcanistUnitTestResult::RESULT_FAIL => phutil_console_format(
' <bg:red>** FAIL **</bg>'),
'<bg:red>** FAIL **</bg>'),
ArcanistUnitTestResult::RESULT_SKIP => phutil_console_format(
' <bg:yellow>** SKIP **</bg>'),
'<bg:yellow>** SKIP **</bg>'),
ArcanistUnitTestResult::RESULT_BROKEN => phutil_console_format(
' <bg:red>** BROKEN **</bg>'),
'<bg:red>** BROKEN **</bg>'),
ArcanistUnitTestResult::RESULT_UNSOUND => phutil_console_format(
' <bg:yellow>** UNSOUND **</bg>'),
'<bg:yellow>** UNSOUND **</bg>'),
ArcanistUnitTestResult::RESULT_POSTPONED => phutil_console_format(
' <bg:yellow>** POSTPONED **</bg>'),
'<bg:yellow>** POSTPONED **</bg>'),
);
$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;