Skip to content

Commit 2f893d4

Browse files
committed
Drop unused SystemPackage import from FileSystemTests
Motivation: swift-system 1.7.0 exposes a new type named `FileType`, which is ambiguous with `NIOFS.FileType` when both modules are imported in the same file. This causes a compile-time error when building `FileSystemTests.swift` in the `NIOFSIntegrationTests` target. Modifications: Drop the unused `SystemPackage` import in `FileSystemTests.swift`. Result: `NIOFSIntegrationTests` builds against swift-system 1.7.0 and later.
1 parent 7586225 commit 2f893d4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Tests/NIOFSIntegrationTests/FileSystemTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import NIOConcurrencyHelpers
1616
import NIOCore
1717
@_spi(Testing) @testable import NIOFS
18-
import SystemPackage
1918
import XCTest
2019

2120
extension NIOFilePath {

0 commit comments

Comments
 (0)