mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Don't show a blank line if there is no user data
Summary: SKIP lines, for instance, often have no UserData; there is no reason to display a content-less blank line. Test Plan: `arc unit` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D18632
This commit is contained in:
parent
b836557b12
commit
c804c50260
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ final class ArcanistUnitConsoleRenderer extends ArcanistUnitRenderer {
|
|||
$this->getFormattedResult($result->getResult()).$duration,
|
||||
$test_name);
|
||||
|
||||
if ($result_code != ArcanistUnitTestResult::RESULT_PASS) {
|
||||
if ($result_code != ArcanistUnitTestResult::RESULT_PASS
|
||||
&& strlen($result->getUserData())) {
|
||||
$return .= $result->getUserData()."\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue