Skip to content

Commit 3ed0bf9

Browse files
committed
Validate that check failed due to changed targets
1 parent 4176bbb commit 3ed0bf9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/functionalTest/kotlin/kotlinx/validation/test/KlibVerificationTests.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,10 @@ internal class KlibVerificationTests : BaseKotlinGradleTest() {
811811
}
812812
runner.buildAndFail().apply {
813813
assertTaskFailure(":klibApiCheck")
814+
Assertions.assertThat(output)
815+
.contains("-// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, " +
816+
"androidNativeX86, linuxArm64, linuxX64, mingwX64]")
817+
.contains("+// Targets: [linuxArm64]")
814818
}
815819
}
816820
}

0 commit comments

Comments
 (0)