Skip to content

Commit 73cb4ea

Browse files
committed
SwiftDriverTests: repair the tests on Windows
`"` is an invalid filesystem character, you may not use this in a file name. Replace the character with `'`. This repairs the test suite on Windows.
1 parent 9cd5310 commit 73cb4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8495,7 +8495,7 @@ final class SwiftDriverTests: XCTestCase {
84958495
try localFileSystem.createDirectory(moduleCachePath)
84968496
let one = path.appending(component: "one.swift")
84978497
let two = path.appending(component: "needs to escape spaces.swift")
8498-
let three = path.appending(component: #"another"one.swift"#)
8498+
let three = path.appending(component: "another'one.swift")
84998499
let four = path.appending(component: "4.swift")
85008500
try localFileSystem.writeFileContents(one, bytes:
85018501
"""

0 commit comments

Comments
 (0)