We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42b25f7 commit e796257Copy full SHA for e796257
plugin-maven/src/test/java/com/diffplug/spotless/maven/java/FormatAnnotationsStepTest.java
@@ -30,4 +30,14 @@ void testFormatAnnotations() throws Exception {
30
mavenRunner().withArguments("spotless:apply").runNoError();
31
assertFile(path).sameAsResource("java/formatannotations/FormatAnnotationsTestOutput.test");
32
}
33
+
34
+ @Test
35
+ void testFormatAnnotationsAccessModifiers() throws Exception {
36
+ writePomWithJavaSteps("<formatAnnotations/>");
37
38
+ String path = "src/main/java/test.java";
39
+ setFile(path).toResource("java/formatannotations/FormatAnnotationsAccessModifiersInput.test");
40
+ mavenRunner().withArguments("spotless:apply").runNoError();
41
+ assertFile(path).sameAsResource("java/formatannotations/FormatAnnotationsAccessModifiersOutput.test");
42
+ }
43
0 commit comments