diff --git a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/StaticImportCheckTest.java b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/StaticImportCheckTest.java index fe172bf2f6..0a0485ade5 100644 --- a/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/StaticImportCheckTest.java +++ b/error-prone-contrib/src/test/java/tech/picnic/errorprone/bugpatterns/StaticImportCheckTest.java @@ -224,21 +224,4 @@ void replacement() { "}") .doTest(TestMode.TEXT_MATCH); } - - @Test - void exemptions() { - refactoringTestHelper - .addInputLines( - "in/A.java", - "import org.springframework.http.MediaType;", - "", - "class A { ", - " void exemptions() {", - " MediaType mediaType1 = MediaType.ALL;", - " MediaType mediaType2 = MediaType.valueOf(\"\");", - " }", - "}") - .expectUnchanged() - .doTest(TestMode.TEXT_MATCH); - } }