Skip to content

Commit 9d7ba10

Browse files
committed
Yell loudly when we can't make a file handle in the child process
1 parent 8590a9e commit 9d7ba10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/ExitTests/ExitTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ extension ExitTest {
690690
return nil
691691
}
692692

693-
return try? FileHandle(unsafePOSIXFileDescriptor: fd, mode: mode)
693+
return try! FileHandle(unsafePOSIXFileDescriptor: fd, mode: mode)
694694
}
695695

696696
/// Make a string suitable for use as the value of an environment variable

0 commit comments

Comments
 (0)