diff --git a/src/test/java/org/openrewrite/java/migrate/lombok/NegligentlyConvertEqualsTest.java b/src/test/java/org/openrewrite/java/migrate/lombok/NegligentlyConvertEqualsTest.java index e9ebfd4c8..79f74cc88 100644 --- a/src/test/java/org/openrewrite/java/migrate/lombok/NegligentlyConvertEqualsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lombok/NegligentlyConvertEqualsTest.java @@ -60,6 +60,21 @@ class A { ); } + @Test + void noCostomMethodsNoAnnotation() { + rewriteRun(// language=java + java( + """ + class A { + + int foo; + + } + """ + ) + ); + } + @Test void replaceEqualsInPackage() { rewriteRun(// language=java