Skip to content

Commit

Permalink
Fix the broken parts of the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed May 23, 2023
1 parent 973f285 commit a9fde3e
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,17 @@ void dropboxStyle_0_18() throws Exception {
StepHarness.forStep(step).testResource("kotlin/ktfmt/basic.dirty", "kotlin/ktfmt/basic-dropboxstyle.clean");
}

@Test
void dropboxStyle_0_19() throws Exception {
FormatterStep step = KtfmtStep.create("0.19", TestProvisioner.mavenCentral(), KtfmtStep.Style.DROPBOX, null);
StepHarness.forStep(step).testResource("kotlin/ktfmt/basic.dirty", "kotlin/ktfmt/basic-dropboxstyle.clean");
}

@Test
void equality() throws Exception {
new SerializableEqualityTester() {
String version = "0.13";
String version = "0.18";

@Override
protected void setupTest(API api) {
// same version == same
api.areDifferentThan();
// change the version, and it's different
version = "0.12";
version = KtfmtStep.defaultVersion();
api.areDifferentThan();
}

Expand Down

0 comments on commit a9fde3e

Please sign in to comment.