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 Dec 24, 2024
1 parent b2e0b82 commit 4ab6051
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 4ab6051

Please sign in to comment.