Skip to content

Commit

Permalink
Squash the final mutant
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Feb 12, 2023
1 parent b4e623b commit 0df7030
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ void matcher() {
"",
"import static pkg.A.B.method3t;",
"",
"import pkg.A.method4t;",
"",
"class A {",
" void method1() {",
" method3t();",
" method4(method4t.class);",
" }",
"",
" // BUG: Diagnostic contains: a method named `method2t` is already defined in this class or a",
Expand All @@ -37,12 +40,16 @@ void matcher() {
" // BUG: Diagnostic contains: `method3t` is already statically imported",
" void method3() {}",
"",
" void method4(Object o) {}",
"",
" // BUG: Diagnostic contains: `int` is not a valid identifier",
" void in() {}",
"",
" static class B {",
" static void method3t() {}",
" }",
"",
" class method4t {}",
"}")
.doTest();
}
Expand Down

0 comments on commit 0df7030

Please sign in to comment.