Skip to content

Commit ced4404

Browse files
committed
chore: test result formatting fix
1 parent defbde1 commit ced4404

File tree

1 file changed

+6
-5
lines changed
  • gradle/build-logic/common-plugins/src/main/kotlin/common

1 file changed

+6
-5
lines changed

gradle/build-logic/common-plugins/src/main/kotlin/common/KotlinExtns.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,14 @@ fun Test.configureJavaTest() {
210210
afterSuite(KotlinClosure2({ desc: TestDescriptor, result: TestResult ->
211211
if (desc.parent == null) { // will match the outermost suite
212212
println("""
213+
|
213214
|Test Results
214215
|------------
215-
| Tests : ${result.resultType} (${result.testCount}
216-
| Successes : ${result.successfulTestCount}
217-
| Failures : ${result.failedTestCount}
218-
| Skipped : ${result.skippedTestCount}
219-
| """.trimMargin()
216+
|Tests : ${result.resultType} (${result.testCount})
217+
|Successes : ${result.successfulTestCount}
218+
|Failures : ${result.failedTestCount}
219+
|Skipped : ${result.skippedTestCount}
220+
""".trimMargin()
220221
)
221222
}
222223
}))

0 commit comments

Comments
 (0)