Skip to content

Commit

Permalink
This actually kills the mutant
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Feb 21, 2023
1 parent 14d1328 commit be9a611
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit be9a611

Please sign in to comment.