File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
testlib/src/test/java/com/diffplug/spotless/kotlin Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1515 */
1616package com .diffplug .spotless .kotlin ;
1717
18- import org .junit .Test ;
19-
2018import com .diffplug .spotless .FormatterStep ;
2119import com .diffplug .spotless .ResourceHarness ;
2220import com .diffplug .spotless .SerializableEqualityTester ;
2321import com .diffplug .spotless .StepHarness ;
2422import com .diffplug .spotless .TestProvisioner ;
23+ import org .junit .Test ;
2524
2625public 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 ());
You can’t perform that action at this time.
0 commit comments