Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a23e682

Browse files
committedMar 21, 2025
Remove imports of Foundation(Essentials|Internationalization|) when TestSupport is imported
TestSupport has `@_exported` imports for those modules.
1 parent b9a6d4d commit a23e682

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1
-320
lines changed
 

‎Tests/FoundationEssentialsTests/AttributedString/AttributedStringCOWTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
import TestSupport
1515
#endif
1616

17-
#if FOUNDATION_FRAMEWORK
18-
import Foundation
19-
#else
20-
import FoundationEssentials
21-
#endif
22-
2317
extension AttributedStringProtocol {
2418
fileprivate mutating func genericSetAttribute() {
2519
self.testInt = 3

‎Tests/FoundationEssentialsTests/AttributedString/AttributedStringTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
import TestSupport
1515
#endif
1616

17-
#if canImport(FoundationEssentials)
18-
import FoundationEssentials
19-
#endif // FOUNDATION_FRAMEWORK
20-
2117
#if FOUNDATION_FRAMEWORK
2218
@_spi(AttributedString) import Foundation
2319
// For testing default attribute scope conversion

0 commit comments

Comments
 (0)
Please sign in to comment.