Skip to content

Commit

Permalink
Correct two tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Oct 10, 2023
1 parent 43c2b80 commit 0460c32
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions src/test/java/org/openrewrite/kotlin/tree/NewClassTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> = java . util . ArrayList<String> ( )
"""
)
);
Expand All @@ -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<String, String> = java . util . AbstractMap . SimpleEntry<String, String> ( "", "" )
"""
)
);
Expand Down

0 comments on commit 0460c32

Please sign in to comment.