Skip to content

Commit ceab5f4

Browse files
committed
Fix test case failure on Windows
1 parent ac5ebd5 commit ceab5f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Tests/SubprocessTests/PipeConfigurationTests.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ struct PipeConfigurationTests {
758758
let pipeline =
759759
pipe(
760760
swiftFunction: { input, output, err in
761-
_ = try await output.write("Swift function output\n")
761+
_ = try await err.write("Swift function error\n")
762762
return 0
763763
}
764764
)
@@ -773,7 +773,6 @@ struct PipeConfigurationTests {
773773
let pipeline =
774774
pipe(
775775
swiftFunction: { input, output, err in
776-
_ = try await output.write("Swift function output\n")
777776
_ = try await err.write("Swift function error\n")
778777
return 0
779778
}

0 commit comments

Comments
 (0)