Skip to content

Commit 0def93e

Browse files
committed
Wtp tests are now failing because they are not roundtrip serializable.
1 parent f838d2a commit 0def93e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testlib/src/main/java/com/diffplug/spotless/StepHarnessBase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
package com.diffplug.spotless;
1717

18+
import java.util.Locale;
1819
import java.util.Objects;
1920

2021
import org.assertj.core.api.Assertions;
@@ -43,7 +44,7 @@ protected StepHarnessBase(Formatter formatter) {
4344
supportsRoundTrip = true;
4445
} else if (onlyStepName.equals("diktat")) {
4546
supportsRoundTrip = true;
46-
} else if (onlyStepName.equals("eclipse jdt formatter") || onlyStepName.equals("eclipse cdt formatter") || onlyStepName.equals("eclipse groovy formatter")) {
47+
} else if (onlyStepName.toLowerCase(Locale.ROOT).contains("eclipse")) {
4748
supportsRoundTrip = true;
4849
}
4950
}

0 commit comments

Comments
 (0)