Skip to content

Commit d8fd6c4

Browse files
authored
Fewer errors in equoIde (#1591)
2 parents dcdcc78 + 5560214 commit d8fd6c4

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/CleanthatJavaIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ void integration() throws IOException {
3737
" }",
3838
"}");
3939

40-
setFile("test.java").toResource("java/cleanthat/MultipleMutators.dirty.java");
40+
setFile("test.java").toResource("java/cleanthat/MultipleMutators.dirty.test");
4141
gradleRunner().withArguments("spotlessApply").build();
42-
assertFile("test.java").sameAsResource("java/cleanthat/MultipleMutators.clean.java");
42+
assertFile("test.java").sameAsResource("java/cleanthat/MultipleMutators.clean.test");
4343
}
4444
}

plugin-maven/src/test/java/com/diffplug/spotless/maven/java/CleanthatJavaRefactorerTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.diffplug.spotless.maven.java;
16+
package com.diffplug.spotless.maven.test;
1717

1818
import org.assertj.core.api.Assertions;
1919
import org.junit.jupiter.api.Test;
@@ -33,7 +33,7 @@ void testEnableDraft() throws Exception {
3333
" <includeDraft>true</includeDraft>",
3434
"</cleanthat>");
3535

36-
runTest("MultipleMutators.dirty.java", "MultipleMutators.clean.onlyOptionalIsPresent.java");
36+
runTest("MultipleMutators.dirty.test", "MultipleMutators.clean.onlyOptionalIsPresent.test");
3737
}
3838

3939
@Test
@@ -45,7 +45,7 @@ void testLiteralsFirstInComparisons() throws Exception {
4545
" </mutators>",
4646
"</cleanthat>");
4747

48-
runTest("LiteralsFirstInComparisons.dirty.java", "LiteralsFirstInComparisons.clean.java");
48+
runTest("LiteralsFirstInComparisons.dirty.test", "LiteralsFirstInComparisons.clean.test");
4949
}
5050

5151
@Test
@@ -59,7 +59,7 @@ void testMultipleMutators_defaultIsJdk7() throws Exception {
5959
" </mutators>",
6060
"</cleanthat>");
6161

62-
runTest("MultipleMutators.dirty.java", "MultipleMutators.clean.onlyLiteralsFirst.java");
62+
runTest("MultipleMutators.dirty.test", "MultipleMutators.clean.onlyLiteralsFirst.test");
6363
}
6464

6565
@Test
@@ -73,7 +73,7 @@ void testMultipleMutators_Jdk11IntroducedOptionalisPresent() throws Exception {
7373
" </mutators>",
7474
"</cleanthat>");
7575

76-
runTest("MultipleMutators.dirty.java", "MultipleMutators.clean.java");
76+
runTest("MultipleMutators.dirty.test", "MultipleMutators.clean.test");
7777
}
7878

7979
@Test
@@ -89,7 +89,7 @@ void testExcludeOptionalNotEmpty() throws Exception {
8989
" </excludedMutators>",
9090
"</cleanthat>");
9191

92-
runTest("MultipleMutators.dirty.java", "MultipleMutators.clean.onlyLiteralsFirst.java");
92+
runTest("MultipleMutators.dirty.test", "MultipleMutators.clean.onlyLiteralsFirst.test");
9393
}
9494

9595
@Test
@@ -101,7 +101,7 @@ void testIncludeOnlyLiteralsFirstInComparisons() throws Exception {
101101
" </mutators>",
102102
"</cleanthat>");
103103

104-
runTest("MultipleMutators.dirty.java", "MultipleMutators.clean.onlyLiteralsFirst.java");
104+
runTest("MultipleMutators.dirty.test", "MultipleMutators.clean.onlyLiteralsFirst.test");
105105
}
106106

107107
private void runTest(String dirtyPath, String cleanPath) throws Exception {

0 commit comments

Comments
 (0)