Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
justine-gehring committed Sep 8, 2023
1 parent 2968807 commit bea0746
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ public class FindCodeThatResemblesTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
System.out.println("in test defaults");
spec.recipe(new FindCodeThatResembles(
"HTTP request with Content-Type application/json",
List.of("kong.unirest.* *(..)", "okhttp*..* *(..)", "org.springframework.web.reactive.function.client.WebClient *(..)",
"org.apache.hc..* *(..)", "org.apache.http.client..* *(..)"),
".2"
"0.0"
));
}

@Test
void unirest() {
System.out.println("in test unirest");
rewriteRun(
spec -> spec.parser(JavaParser.fromJavaVersion().classpath("unirest-java")),
//language=java
Expand Down Expand Up @@ -74,7 +72,6 @@ void test() {

@Test
void unirest2() {
System.out.println("in test unirest2");
rewriteRun(
spec -> spec.parser(JavaParser.fromJavaVersion().classpath("unirest-java")),
//language=java
Expand Down

0 comments on commit bea0746

Please sign in to comment.