Skip to content

Commit e577422

Browse files
committed
Fix a test
1 parent 035cc6d commit e577422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ProcessInvocationTests/ProcessInvocationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ final class ProcessInvocationTests : XCTestCase {
145145

146146
func testProcessTerminationHandler() throws {
147147
var wentIn = false
148-
let (_, g) = try ProcessInvocation("/bin/cat", signalsToProcess: []).invoke(outputHandler: { _,_,_ in }, terminationHandler: { p in
148+
let (_, g) = try ProcessInvocation("/bin/cat", stdinRedirect: .fromNull, signalsToProcess: []).invoke(outputHandler: { _,_,_ in }, terminationHandler: { p in
149149
wentIn = true
150150
})
151151

0 commit comments

Comments
 (0)