diff --git a/src/test/java/org/openrewrite/kotlin/tree/NewClassTest.java b/src/test/java/org/openrewrite/kotlin/tree/NewClassTest.java index ea3879ade..7d224f3bf 100644 --- a/src/test/java/org/openrewrite/kotlin/tree/NewClassTest.java +++ b/src/test/java/org/openrewrite/kotlin/tree/NewClassTest.java @@ -59,13 +59,7 @@ void fullyQualified() { rewriteRun( kotlin( """ - package a.b - class Test - """ - ), - kotlin( - """ - val type : a . b . Test = a . b . Test ( ) + val type : java . util . ArrayList = java . util . ArrayList ( ) """ ) ); @@ -76,15 +70,7 @@ void innerClass() { rewriteRun( kotlin( """ - package a.b - class Test { - class Inner - } - """ - ), - kotlin( - """ - val type : a . b . Test . Inner = a . b . Test . Inner ( ) + val type : java . util . AbstractMap . SimpleEntry = java . util . AbstractMap . SimpleEntry ( "", "" ) """ ) );