mirror of
https://github.com/apple/swift-certificates
synced 2026-11-30 05:08:44 +00:00
Add Android import for IPAddressNameTests (#217)
Following on https://github.com/apple/swift-certificates/pull/183 and https://github.com/apple/swift-certificates/pull/207, we need to `import Android` in `IPAddressTests.swift` to get `inet_pton` and `in6_addr`. With this addition, tests pass on Android again.
This commit is contained in:
1 parent
608cef1b99
commit
274f8668d3
1 file changed
+3
@@ -15,6 +15,9 @@
|
||||
import XCTest
|
||||
import SwiftASN1
|
||||
@testable import X509
|
||||
#if canImport(Android)
|
||||
import Android
|
||||
#endif
|
||||
|
||||
final class IPAddressNameTests: XCTestCase {
|
||||
static let fixtures: [(ASN1OctetString, ASN1OctetString, Bool)] = [
|
||||
|
||||
Reference in new issue
Block a user