Skip to content

Commit 130eeff

Browse files
committed
Validate that check failed due to changed targets
1 parent 9666d74 commit 130eeff

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
@@ -772,6 +772,10 @@ internal class KlibVerificationTests : BaseKotlinGradleTest() {
772772
}
773773
runner.buildAndFail().apply {
774774
assertTaskFailure(":klibApiCheck")
775+
Assertions.assertThat(output)
776+
.contains("-// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, " +
777+
"androidNativeX86, linuxArm64, linuxX64, mingwX64]")
778+
.contains("+// Targets: [linuxArm64]")
775779
}
776780
}
777781
}

0 commit comments

Comments
 (0)