@@ -39,8 +39,8 @@ struct PipeConfigurationTests {
39
39
#expect( result. terminationStatus. isSuccess)
40
40
}
41
41
42
- // FIXME - these function tests are hanging on Linux
43
- #if os(macOS)
42
+ // FIXME - these function tests are hanging on Linux
43
+ #if os(macOS)
44
44
@Test func testBasicSwiftFunctionBeginning( ) async throws {
45
45
let config =
46
46
pipe { input, output, error in
@@ -133,7 +133,7 @@ struct PipeConfigurationTests {
133
133
#expect( result. standardOutput? . trimmingCharacters ( in: . whitespacesAndNewlines) == " Hello World " )
134
134
#expect( result. terminationStatus. isSuccess)
135
135
}
136
- #endif
136
+ #endif
137
137
138
138
@Test func testPipeConfigurationWithConfiguration( ) async throws {
139
139
let configuration = Configuration (
@@ -398,8 +398,8 @@ struct PipeConfigurationTests {
398
398
#expect( result. terminationStatus. isSuccess)
399
399
}
400
400
401
- // FIXME - These tests are hanging on Linux
402
- #if os(macOS)
401
+ // FIXME - These tests are hanging on Linux
402
+ #if os(macOS)
403
403
@Test func testSwiftFunctionWithFileDescriptorInput( ) async throws {
404
404
// Create a temporary file with JSON content
405
405
let tempURL = FileManager . default. temporaryDirectory. appendingPathComponent ( " json_test_ \( UUID ( ) . uuidString) .json " )
@@ -452,7 +452,7 @@ struct PipeConfigurationTests {
452
452
#expect( result. standardOutput? . contains ( " Person: Alice, Age: 30, Location: New York " ) == true )
453
453
#expect( result. terminationStatus. isSuccess)
454
454
}
455
- #endif
455
+ #endif
456
456
457
457
@Test func testComplexPipelineWithStringInputAndSwiftFunction( ) async throws {
458
458
let csvData = " name,score,grade \n Alice,95,A \n Bob,87,B \n Charlie,92,A \n Dave,78,C "
@@ -496,8 +496,8 @@ struct PipeConfigurationTests {
496
496
#expect( result. terminationStatus. isSuccess)
497
497
}
498
498
499
- // FIXME - this test is hanging on Linux
500
- #if os(macOS)
499
+ // FIXME - this test is hanging on Linux
500
+ #if os(macOS)
501
501
@Test func testMultiStageSwiftFunctionPipelineWithStringInput( ) async throws {
502
502
let numbers = " 10 \n 25 \n 7 \n 42 \n 13 \n 8 \n 99 "
503
503
@@ -554,7 +554,7 @@ struct PipeConfigurationTests {
554
554
555
555
#expect( result. terminationStatus. isSuccess)
556
556
}
557
- #endif
557
+ #endif
558
558
559
559
// MARK: - Shared Error Handling Tests
560
560
0 commit comments