Skip to content

Commit 34a8bdb

Browse files
committed
Increase Windows test coverage
1 parent 38c1d78 commit 34a8bdb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Tests/SubprocessTests/PipeConfigurationTests.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,7 @@ struct PipeConfigurationTests {
952952
#expect(result.standardOutput?.contains("stderr") == true)
953953
#expect(result.terminationStatus.isSuccess)
954954
}
955+
#endif
955956

956957
@Test func testErrorRedirectionWithPipeOperators() async throws {
957958
#if os(Windows)
@@ -988,7 +989,6 @@ struct PipeConfigurationTests {
988989
#expect(lineCount == "1")
989990
#expect(result.terminationStatus.isSuccess)
990991
}
991-
#endif
992992

993993
@Test func testProcessHelperWithErrorRedirection() async throws {
994994
let pipeline =
@@ -1022,7 +1022,8 @@ struct PipeConfigurationTests {
10221022

10231023
@Test func testPipeConfigurationDescription() {
10241024
let config = pipe(
1025-
Echo("test")
1025+
executable: .name("echo"),
1026+
arguments: ["echo"]
10261027
).finally(
10271028
output: .string(limit: .max)
10281029
)

0 commit comments

Comments
 (0)