Skip to content

Commit e5d6a59

Browse files
committed
Confused the type checker
1 parent 762a89e commit e5d6a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/TestingTests/AttachmentTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct AttachmentTests {
104104
// Return the list of COM ports that are NOT configured (and so will fail
105105
// to open for writing.)
106106
(0...9).lazy
107-
.flatMap { ["COM\($0)", "LPT\($0)"] }
107+
.map { "COM\($0)" }
108108
.filter { !PathFileExistsA($0) }
109109
}()
110110
#else

0 commit comments

Comments
 (0)