diff --git a/Tests/Segment-Tests/Telemetry_Tests.swift b/Tests/Segment-Tests/Telemetry_Tests.swift index c25d47b..a182b33 100644 --- a/Tests/Segment-Tests/Telemetry_Tests.swift +++ b/Tests/Segment-Tests/Telemetry_Tests.swift @@ -1,7 +1,5 @@ +#if !os(Linux) && !os(Windows) import XCTest -#if os(Linux) || os(Windows) -import FoundationNetworking -#endif @testable import Segment @@ -168,3 +166,5 @@ class URLSessionMock: RestrictedHTTPSession { class URLSessionDataTaskMock: URLSessionDataTask, @unchecked Sendable { override func resume() {} } + +#endif