File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/test/kotlin/org/openrewrite/java/migrate Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,15 @@ class JavaxToJakartaTest : JavaRecipeTest {
7676
7777 @Test
7878 fun annotation () = assertChanged(
79- dependsOn = arrayOf("""
79+ dependsOn = arrayOf(
80+ """
8081 package javax.xml.bind.annotation;
8182 public @interface A {}
8283 """ .trimIndent(), """
8384 package jakarta.xml.bind.annotation;
8485 public @interface A {}
85- """ .trimIndent()),
86+ """ .trimIndent()
87+ ),
8688 before = " @javax.xml.bind.annotation.A public class B {}" ,
8789 after = " @jakarta.xml.bind.annotation.A public class B {}"
8890 )
@@ -124,7 +126,8 @@ class JavaxToJakartaTest : JavaRecipeTest {
124126 dependsOn = arrayOf(
125127 javax, jakarta,
126128 " package javax.xml.bind.annotation; public class NewException extends Throwable {}" ,
127- " package jakarta.xml.bind.annotation; public class NewException extends Throwable {}" ),
129+ " package jakarta.xml.bind.annotation; public class NewException extends Throwable {}"
130+ ),
128131 before = """
129132 public class B {
130133 public javax.xml.bind.annotation.A foo() throws javax.xml.bind.annotation.NewException { return null; }
You can’t perform that action at this time.
0 commit comments