From 4a7790614139c2bc165373372caae8bd279ea593 Mon Sep 17 00:00:00 2001 From: Nick Harper Date: Tue, 3 Jan 2012 13:47:36 -0800 Subject: [PATCH] Don't show detailed unittest result box if all tests passed Summary: When all unit tests pass, a box appears between the unit test results and lint status (for test failures to go in). This checks if there's anything to put in that div/ul before putting it on the page. Test Plan: Loaded a revision with unit tests OK and saw no box. Loaded a revision with failing unittests, and saw the same box from before. Reviewers: tuomaspelkonen, epriestley Reviewed By: epriestley CC: jungejason, aran, nh, epriestley Differential Revision: https://secure.phabricator.com/D1295 --- .../specification/unit/DifferentialUnitFieldSpecification.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/applications/differential/field/specification/unit/DifferentialUnitFieldSpecification.php b/src/applications/differential/field/specification/unit/DifferentialUnitFieldSpecification.php index c315363a83..dd80846e97 100644 --- a/src/applications/differential/field/specification/unit/DifferentialUnitFieldSpecification.php +++ b/src/applications/differential/field/specification/unit/DifferentialUnitFieldSpecification.php @@ -1,7 +1,7 @@ '. '