[Gradle, Cocoapods] Fix false-negative testCinteropExtraOpts failing
This commit is contained in:
+6
-7
@@ -696,13 +696,12 @@ class CocoaPodsIT : BaseGradleIT() {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun testCinteropExtraOpts() {
|
fun testCinteropExtraOpts() {
|
||||||
with(project.gradleBuildScript()) {
|
with(project) {
|
||||||
addPod("AFNetworking", "extraOpts = listOf(\"-help\")")
|
gradleBuildScript().addPod("AFNetworking", "extraOpts = listOf(\"-help\")")
|
||||||
}
|
hooks.addHook {
|
||||||
|
assertContains("Usage: cinterop options_list")
|
||||||
project.build("wrapper", "cinteropAFNetworkingIOS") {
|
}
|
||||||
assertSuccessful()
|
testWithWrapper("cinteropAFNetworkingIOS")
|
||||||
assertContains("Usage: cinterop options_list")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user