Skip to content

Commit 18a40c7

Browse files
committed
Fix formatting
1 parent dc179a3 commit 18a40c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/org/junit/support/testng/engine/ExecutionListener.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ private static Stream<Throwable> throwables(Set<ITestResult> results) {
237237

238238
private static Throwable chain(Stream<Throwable> failures) {
239239
Iterator<Throwable> iterator = failures.iterator();
240-
Throwable throwable = null;
241-
if (iterator.hasNext()) {
242-
throwable = iterator.next();
243-
iterator.forEachRemaining(throwable::addSuppressed);
244-
}
245-
return throwable;
240+
Throwable throwable = null;
241+
if (iterator.hasNext()) {
242+
throwable = iterator.next();
243+
iterator.forEachRemaining(throwable::addSuppressed);
244+
}
245+
return throwable;
246246
}
247247

248248
static class MethodProgress {

0 commit comments

Comments
 (0)