File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
plugin-maven/src/test/java/com/diffplug/spotless/maven/kotlin
testlib/src/main/resources/kotlin/ktlint Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ void testKtlintEditorConfigOverride() throws Exception {
50
50
51
51
@ Test
52
52
void testReadCodeStyleFromEditorConfigFile () throws Exception {
53
- setFile (".editorconfig" ).toResource ("kotlin/ktlint/intellij_idea /.editorconfig" );
53
+ setFile (".editorconfig" ).toResource ("kotlin/ktlint/ktlint_official /.editorconfig" );
54
54
writePomWithKotlinSteps ("<ktlint/>" );
55
- checkIntellijIdeaStyle ();
55
+ checkKtlintOfficialStyle ();
56
56
}
57
57
58
58
@ Test
@@ -98,11 +98,4 @@ private void checkKtlintOfficialStyle() throws Exception {
98
98
mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
99
99
assertFile (path ).sameAsResource ("kotlin/ktlint/experimentalEditorConfigOverride.ktlintOfficial.clean" );
100
100
}
101
-
102
- private void checkIntellijIdeaStyle () throws Exception {
103
- String path = "src/main/kotlin/Main.kt" ;
104
- setFile (path ).toResource ("kotlin/ktlint/experimentalEditorConfigOverride.dirty" );
105
- mavenRunner ().withArguments ("spotless:apply" ).runNoError ();
106
- assertFile (path ).sameAsResource ("kotlin/ktlint/experimentalEditorConfigOverride.intellijIdea.clean" );
107
- }
108
101
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments