Skip to content

Commit ac5ebd5

Browse files
committed
Add more tests for Windows
1 parent d71c791 commit ac5ebd5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Tests/SubprocessTests/PipeConfigurationTests.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,6 @@ struct PipeConfigurationTests {
759759
pipe(
760760
swiftFunction: { input, output, err in
761761
_ = try await output.write("Swift function output\n")
762-
_ = try await err.write("Swift function error\n")
763762
return 0
764763
}
765764
)
@@ -820,13 +819,11 @@ struct PipeConfigurationTests {
820819

821820
// MARK: - Error Redirection Tests
822821

823-
#if !os(Windows)
824822
@Test func testSeparateErrorRedirection() async throws {
825823
#if os(Windows)
826824
let config =
827825
pipe(
828826
swiftFunction: { input, output, err in
829-
_ = try await output.write("Swift function output\n")
830827
_ = try await err.write("Swift function error\n")
831828
return 0
832829
}
@@ -843,7 +840,6 @@ struct PipeConfigurationTests {
843840
let config =
844841
pipe(
845842
swiftFunction: { input, output, err in
846-
_ = try await output.write("Swift function output\n")
847843
_ = try await err.write("Swift function error\n")
848844
return 0
849845
}
@@ -869,7 +865,6 @@ struct PipeConfigurationTests {
869865
let config =
870866
pipe(
871867
swiftFunction: { input, output, err in
872-
_ = try await output.write("Swift function output\n")
873868
_ = try await err.write("Swift function error\n")
874869
return 0
875870
}
@@ -886,7 +881,6 @@ struct PipeConfigurationTests {
886881
let config =
887882
pipe(
888883
swiftFunction: { input, output, err in
889-
_ = try await output.write("Swift function output\n")
890884
_ = try await err.write("Swift function error\n")
891885
return 0
892886
}
@@ -906,7 +900,6 @@ struct PipeConfigurationTests {
906900
#expect(result.standardOutput?.contains("stderr") == true)
907901
#expect(result.terminationStatus.isSuccess)
908902
}
909-
#endif
910903

911904
@Test func testMergeErrorRedirection() async throws {
912905
#if os(Windows)

0 commit comments

Comments
 (0)