diff --git a/src/test/java/org/openrewrite/analysis/trait/variable/LocalVariableDeclTest.java b/src/test/java/org/openrewrite/analysis/trait/variable/LocalVariableDeclTest.java index 1bb01cfea..80518bc6c 100644 --- a/src/test/java/org/openrewrite/analysis/trait/variable/LocalVariableDeclTest.java +++ b/src/test/java/org/openrewrite/analysis/trait/variable/LocalVariableDeclTest.java @@ -59,7 +59,7 @@ public void defaults(RecipeSpec spec) { } @Test - void testVariableVisit() { + void variableVisit() { rewriteRun( spec -> spec.recipe(toRecipe(visitVariable((variable, cursor) -> { LocalVariableDecl p = LocalVariableDecl.viewOf(cursor).on(TraitErrors::doThrow); @@ -77,7 +77,7 @@ void testVariableVisit() { @Test @SuppressWarnings("ClassInitializerMayBeStatic") - void testVariableInInitBlock() { + void variableInInitBlock() { rewriteRun( spec -> spec.recipe(toRecipe(visitVariable((variable, cursor) -> { LocalVariableDecl p = LocalVariableDecl.viewOf(cursor).on(TraitErrors::doThrow); @@ -94,7 +94,7 @@ void testVariableInInitBlock() { } @Test - void testVariableInStaticInitBlock() { + void variableInStaticInitBlock() { rewriteRun( spec -> spec.recipe(toRecipe(visitVariable((variable, cursor) -> { LocalVariableDecl p = LocalVariableDecl.viewOf(cursor).on(TraitErrors::doThrow); diff --git a/src/test/java/org/openrewrite/analysis/trait/variable/ParameterTest.java b/src/test/java/org/openrewrite/analysis/trait/variable/ParameterTest.java index 6543b2b67..8b26271df 100644 --- a/src/test/java/org/openrewrite/analysis/trait/variable/ParameterTest.java +++ b/src/test/java/org/openrewrite/analysis/trait/variable/ParameterTest.java @@ -51,7 +51,7 @@ public J.VariableDeclarations.NamedVariable visitVariable( } @Test - void testVariableVisit() { + void variableVisit() { rewriteRun( spec -> spec.recipe(toRecipe(visitVariable((variable, cursor) -> { Parameter p = Parameter.viewOf(cursor).on(TraitErrors::doThrow); @@ -73,7 +73,7 @@ void testVariableVisit() { } @Test - void testVariableVisitVarargs() { + void variableVisitVarargs() { rewriteRun( spec -> spec.recipe(toRecipe(visitVariable((variable, cursor) -> { Parameter p = Parameter.viewOf(cursor).on(TraitErrors::doThrow);