Skip to content

Commit

Permalink
#3156 = add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
coiouhkc committed Jun 17, 2023
1 parent 722f905 commit 270b43d
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public static void doSmth() {
}

@Test
void givenInteface() {
void givenInterface() {
rewriteRun(
recipeSpec -> recipeSpec.recipe(new LombokUtilityClass()),
java(
Expand All @@ -295,6 +295,20 @@ static void doSmth() {
);
}

// FIXME: use messaging on getCursor() to notify class of existing methods or fields?
@Test
void givenEmptyClass() {
rewriteRun(
recipeSpec -> recipeSpec.recipe(new LombokUtilityClass()),
java(
"""
public class A {
}
"""
)
);
}

}

@Test
Expand Down

0 comments on commit 270b43d

Please sign in to comment.