Skip to content

Commit

Permalink
[#534]: Updated test case to resolve failure in PostConstructAnnotata…
Browse files Browse the repository at this point in the history
…tionTest
  • Loading branch information
dessina-devasia committed Dec 20, 2023
1 parent c15bca7 commit bb02fb9
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,9 @@ public void GeneratedAnnotation() throws Exception {
"public void getHappiness() {\n\n }\n\n " +
"@PostConstruct\n " +
"public void throwTantrum() throws Exception {\n " +
"System.out.println(\"I'm sad\");\n " +
"}\n\n " +
"private String emailAddress;\n\n}\n";
TextEdit te = te(0, 0, 32, 0, newText);
"System.out.println(\"I'm sad\");\n }\n\n " +
"private String emailAddress;\n\n}";
TextEdit te = te(0, 0, 31, 1, newText);
CodeAction ca = ca(uri, "Remove all parameters", d2, te);
assertJavaCodeAction(codeActionParams1, utils, ca);
}
Expand Down

0 comments on commit bb02fb9

Please sign in to comment.