We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6e1d6e + 9617a14 commit 3d5f197Copy full SHA for 3d5f197
Tests/Foundation/Tests/TestPipe.swift
@@ -44,7 +44,11 @@ class TestPipe: XCTestCase {
44
for _ in 1...maxPipes {
45
let pipe = Pipe()
46
if !pipe.fileHandleForReading._isPlatformHandleValid {
47
+#if os(Windows)
48
+ XCTAssertEqual(pipe.fileHandleForReading._handle, pipe.fileHandleForWriting._handle)
49
+#else
50
XCTAssertEqual(pipe.fileHandleForReading.fileDescriptor, pipe.fileHandleForWriting.fileDescriptor)
51
+#endif
52
break
53
}
54
pipes.append(pipe)
0 commit comments