Skip to content

Commit 8729d4c

Browse files
eclipse-pde-botlaeubi
authored andcommitted
Perform clean code of ui/org.eclipse.pde.junit.runtime.tests
1 parent eef2b33 commit 8729d4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/org.eclipse.pde.junit.runtime.tests/src/org/eclipse/pde/junit/runtime/tests/JUnitExecutionTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ public void executeMethod() throws Exception {
134134

135135
static void assertSuccessful(ITestRunSession session) {
136136
Result testResult = session.getTestResult(true);
137-
if (ITestElement.Result.OK.equals(testResult))
137+
if (ITestElement.Result.OK.equals(testResult)) {
138138
return;
139+
}
139140

140141
AssertionError assertionFailedError = new AssertionError("test completed with " + testResult);
141142
addFailureTraces(session, assertionFailedError);

0 commit comments

Comments
 (0)