Skip to content

Commit b9e2fed

Browse files
committed
Remove unnecessary import CoreFoundation on Windows
This removes the unnecessary import of CoreFoundation in the XCTest module. It is unused and the removal enables the removal of the CoreFoundation headers from the distribution which are internal implementation details on non-Darwin platforms.
1 parent 0bd9e76 commit b9e2fed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/XCTest/Public/Asynchronous/XCTWaiter.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
// XCTWaiter.swift
1111
//
1212

13+
#if !os(Windows)
1314
import CoreFoundation
15+
#endif
1416

1517
/// Events are reported to the waiter's delegate via these methods. XCTestCase conforms to this
1618
/// protocol and will automatically report timeouts and other unexpected events as test failures.

0 commit comments

Comments
 (0)