Skip to content

Commit e3e0beb

Browse files
committed
spotlessApply
1 parent cfe2cf4 commit e3e0beb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,9 @@ void behaviorConf() throws Exception {
7373
@Test
7474
void notSupportedVersion() {
7575
final IllegalStateException notSupportedException = Assertions.assertThrows(IllegalStateException.class,
76-
() -> DiktatStep.create("1.2.0", TestProvisioner.mavenCentral()));
76+
() -> DiktatStep.create("1.2.0", TestProvisioner.mavenCentral()));
7777
Assertions.assertTrue(
78-
notSupportedException.getMessage().contains("Diktat supported for version 1.2.1 and later")
79-
);
78+
notSupportedException.getMessage().contains("Diktat supported for version 1.2.1 and later"));
8079

8180
Assertions.assertDoesNotThrow(() -> DiktatStep.create("1.2.1", TestProvisioner.mavenCentral()));
8281
Assertions.assertDoesNotThrow(() -> DiktatStep.create("2.0.0", TestProvisioner.mavenCentral()));

0 commit comments

Comments
 (0)