From 673f444311b695adfc7314527128f7ed997686db Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Tue, 21 Feb 2023 16:46:02 +0100 Subject: [PATCH] This actually kills the mutant --- .../documentation/BugPatternTestExtractorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();