Skip to content

Commit 61f0420

Browse files
authored
Update FindCallGraphTest to expect void for Kotlin Unit return type (#43)
Non-nullable kotlin.Unit return types now map to JVM void as of rewrite 8.79.4 (openrewrite/rewrite#7364). Update the call graph assertion to match.
1 parent dacd4b2 commit 61f0420

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/openrewrite/FindCallGraphTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ void companionObject() {
382382
"println",
383383
"kotlin.Any",
384384
CallGraph.ResourceType.METHOD,
385-
"kotlin.Unit"
385+
"void"
386386
)
387387
)
388388
),

0 commit comments

Comments
 (0)