diff --git a/documentation-support/src/test/java/tech/picnic/errorprone/documentation/BugPatternTestExtractorTest.java b/documentation-support/src/test/java/tech/picnic/errorprone/documentation/BugPatternTestExtractorTest.java index f1c16719668..3fb74ed48f9 100644 --- a/documentation-support/src/test/java/tech/picnic/errorprone/documentation/BugPatternTestExtractorTest.java +++ b/documentation-support/src/test/java/tech/picnic/errorprone/documentation/BugPatternTestExtractorTest.java @@ -31,10 +31,10 @@ void bugPatternTestFileWithoutTestSuffix(@TempDir Path outputDirectory) { "import com.google.errorprone.bugpatterns.BugChecker;", "import com.google.errorprone.CompilationTestHelper;", "", - "final class TestCheckerWithWrongSuffix {", - " private static class TestChecker extends BugChecker {}", + "final class TestCheckerWithoutTestSuffix {", + " private static class TestCheckerWithout extends BugChecker {}", "", - " CompilationTestHelper compilationTestHelper = CompilationTestHelper.newInstance(TestChecker.class, getClass());", + " CompilationTestHelper compilationTestHelper = CompilationTestHelper.newInstance(TestCheckerWithout.class, getClass());", "}"); assertThat(outputDirectory.toAbsolutePath()).isEmptyDirectory();