Skip to content

Commit

Permalink
add test for empty class
Browse files Browse the repository at this point in the history
  • Loading branch information
timo-a committed Jan 1, 2025
1 parent c3157da commit 68838e4
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,21 @@ class A {
);
}

@Test
void noCostomMethodsNoAnnotation() {
rewriteRun(// language=java
java(
"""
class A {
int foo;
}
"""
)
);
}

@Test
void replaceEqualsInPackage() {
rewriteRun(// language=java
Expand Down

0 comments on commit 68838e4

Please sign in to comment.