Skip to content

Commit c0f2e8f

Browse files
committed
Fix tests for Windows
1 parent b5e5624 commit c0f2e8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SubprocessTests/PipeConfigurationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ struct PipeConfigurationTests {
373373
}
374374

375375
// Open file descriptor for reading
376-
let fileDescriptor = try FileDescriptor.open(tempURL.path, .readOnly)
376+
let fileDescriptor = try FileDescriptor.open(FilePath(tempURL.path), .readOnly)
377377
defer {
378378
try? fileDescriptor.close()
379379
}
@@ -411,7 +411,7 @@ struct PipeConfigurationTests {
411411
}
412412

413413
// Open file descriptor for reading
414-
let fileDescriptor = try FileDescriptor.open(tempURL.path, .readOnly)
414+
let fileDescriptor = try FileDescriptor.open(FilePath(tempURL.path), .readOnly)
415415
defer {
416416
try? fileDescriptor.close()
417417
}

0 commit comments

Comments
 (0)