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