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:
Marc Prud'hommeaux authored and GitHub committed 2025-01-08 10:55:15 +00:00
1 parent 608cef1b99
commit 274f8668d3
1 file changed
+3
+3
View File
@@ -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)] = [