Skip to content

fix gradle custom step with closure and configuration cache #2008

fix gradle custom step with closure and configuration cache

fix gradle custom step with closure and configuration cache #2008

GitHub Actions / JUnit gradle 23 ubuntu-latest failed Jan 6, 2025 in 0s

499 tests run, 487 passed, 11 skipped, 1 failed.

Annotations

Check failure on line 46 in testlib/src/test/java/com/diffplug/spotless/combined/CombinedJavaFormatStepTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit gradle 23 ubuntu-latest

CombinedJavaFormatStepTest.checkIssue1679()

org.opentest4j.AssertionFailedError: 
expected: com.diffplug.spotless.Formatter@3fd1cbe5
 but was: com.diffplug.spotless.Formatter@9c4f73e1
Raw output
org.opentest4j.AssertionFailedError: 
expected: com.diffplug.spotless.Formatter@3fd1cbe5
 but was: com.diffplug.spotless.Formatter@9c4f73e1
	at app//com.diffplug.spotless.StepHarnessBase.<init>(StepHarnessBase.java:36)
	at app//com.diffplug.spotless.StepHarness.<init>(StepHarness.java:30)
	at app//com.diffplug.spotless.StepHarness.forFormatter(StepHarness.java:49)
	at app//com.diffplug.spotless.StepHarness.forSteps(StepHarness.java:40)
	at app//com.diffplug.spotless.combined.CombinedJavaFormatStepTest.checkIssue1679(CombinedJavaFormatStepTest.java:46)
	at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1597)
	at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1597)