File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
testlib/src/test/java/com/diffplug/spotless/kotlin Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,9 @@ void behaviorConf() throws Exception {
73
73
@ Test
74
74
void notSupportedVersion () {
75
75
final IllegalStateException notSupportedException = Assertions .assertThrows (IllegalStateException .class ,
76
- () -> DiktatStep .create ("1.2.0" , TestProvisioner .mavenCentral ()));
76
+ () -> DiktatStep .create ("1.2.0" , TestProvisioner .mavenCentral ()));
77
77
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" ));
80
79
81
80
Assertions .assertDoesNotThrow (() -> DiktatStep .create ("1.2.1" , TestProvisioner .mavenCentral ()));
82
81
Assertions .assertDoesNotThrow (() -> DiktatStep .create ("2.0.0" , TestProvisioner .mavenCentral ()));
You can’t perform that action at this time.
0 commit comments