Skip to content

Commit d728b64

Browse files
authored
Merge pull request #311 from compnerd/CoreFoundation-free
Remove unnecessary `import CoreFoundation` on Windows
2 parents 0bd9e76 + b9e2fed commit d728b64

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)