Skip to content

Commit 9c5c264

Browse files
committed
Add updated comment to test
1 parent c70f878 commit 9c5c264

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

testlib/src/test/java/com/diffplug/spotless/kotlin/KtLintStepTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
*/
1616
package com.diffplug.spotless.kotlin;
1717

18-
import org.junit.Test;
19-
2018
import com.diffplug.spotless.FormatterStep;
2119
import com.diffplug.spotless.ResourceHarness;
2220
import com.diffplug.spotless.SerializableEqualityTester;
2321
import com.diffplug.spotless.StepHarness;
2422
import com.diffplug.spotless.TestProvisioner;
23+
import org.junit.Test;
2524

2625
public class KtLintStepTest extends ResourceHarness {
2726
@Test
@@ -52,8 +51,11 @@ public void worksShyiko() throws Exception {
5251
});
5352
}
5453

54+
// Regression test to ensure it works on the version it switched to Pinterest (version 0.32.0)
55+
// but before 0.34.
56+
// https://github.com/diffplug/spotless/issues/419
5557
@Test
56-
public void worksPinterest() throws Exception {
58+
public void worksPinterestAndPre034() throws Exception {
5759
// Must use jcenter because `com.andreapivetta.kolor:kolor:0.0.2` isn't available on mavenCentral.
5860
// It is a dependency of ktlint.
5961
FormatterStep step = KtLintStep.create("0.32.0", TestProvisioner.jcenter());

0 commit comments

Comments
 (0)