From 911110188e74e8441330ea0d2f3948e36cfeb48f Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Thu, 21 Oct 2021 14:43:45 +0200 Subject: [PATCH] [Gradle][MPP] Adjust CommonizerHierarchicalIT for published cinteorp metadata ^KT-46198 --- .../jetbrains/kotlin/gradle/CommonizerHierarchicalIT.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/CommonizerHierarchicalIT.kt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/CommonizerHierarchicalIT.kt index f571633ccd6..c13bcc11193 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/CommonizerHierarchicalIT.kt +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/CommonizerHierarchicalIT.kt @@ -107,11 +107,11 @@ class CommonizerHierarchicalIT : BaseGradleIT() { assertTasksExecuted(":p3:commonizeCInterop") /* - Commonized C-Interops are not published or forwarded to other Gradle projects. - The missing dependency will be ignored by the metadata compiler. - We still expect a warning being printed. + Before we published commonized cinterops, the compiler would emit a warning like + `"w: Could not find \"commonizeHierarchicallyMultiModule:p1-cinterop-withPosix\" in "` + Since commonized cinterops are published now, we expect no such 'Could not find' message anymore */ - assertContains("w: Could not find \"commonizeHierarchicallyMultiModule:p1-cinterop-withPosix\" in ") + assertNotContains("Could not find") } } }