Skip to content

Commit

Permalink
Honor GREENCENTLY_SUMMARY.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmonz committed Nov 27, 2024
1 parent ca068c1 commit 84656a0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class JUnit5Summary(testPlan: TestPlan, internal val anyTestsGreen: Boolean, int
internal val testCount = testPlan.countTestIdentifiers(TestIdentifier::isTest)

init {
if (System.getProperty("GREENCENTLY_SUMMARY") != null) {
println(
if (System.getenv("GREENCENTLY_SUMMARY") !== null) {
System.err.println(
"total tests: ${this.testCount}\n" +
"any green: $anyTestsGreen\n" +
"any red: $anyTestsRed\n",
Expand Down

0 comments on commit 84656a0

Please sign in to comment.