[Gradle, Cocoapods] Fix false-negative testCinteropExtraOpts failing
This commit is contained in:
+5
-6
@@ -696,14 +696,13 @@ 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 {
|
||||||
|
|
||||||
project.build("wrapper", "cinteropAFNetworkingIOS") {
|
|
||||||
assertSuccessful()
|
|
||||||
assertContains("Usage: cinterop options_list")
|
assertContains("Usage: cinterop options_list")
|
||||||
}
|
}
|
||||||
|
testWithWrapper("cinteropAFNetworkingIOS")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// paths
|
// paths
|
||||||
|
|||||||
Reference in New Issue
Block a user