Skip to content

Commit a9fde3e

Browse files
committed
Fix the broken parts of the test.
1 parent 973f285 commit a9fde3e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,17 @@ void dropboxStyle_0_18() throws Exception {
3232
StepHarness.forStep(step).testResource("kotlin/ktfmt/basic.dirty", "kotlin/ktfmt/basic-dropboxstyle.clean");
3333
}
3434

35-
@Test
36-
void dropboxStyle_0_19() throws Exception {
37-
FormatterStep step = KtfmtStep.create("0.19", TestProvisioner.mavenCentral(), KtfmtStep.Style.DROPBOX, null);
38-
StepHarness.forStep(step).testResource("kotlin/ktfmt/basic.dirty", "kotlin/ktfmt/basic-dropboxstyle.clean");
39-
}
40-
4135
@Test
4236
void equality() throws Exception {
4337
new SerializableEqualityTester() {
44-
String version = "0.13";
38+
String version = "0.18";
4539

4640
@Override
4741
protected void setupTest(API api) {
4842
// same version == same
4943
api.areDifferentThan();
5044
// change the version, and it's different
51-
version = "0.12";
45+
version = KtfmtStep.defaultVersion();
5246
api.areDifferentThan();
5347
}
5448

0 commit comments

Comments
 (0)