Skip to content

Commit cc28612

Browse files
committed
Tests: correct output file map entries
Correct the path separator for the output file map entries. This has no impact on the test coverage but does make it easier to copy-paste values and to work with the values on Windows.
1 parent c0d2cf9 commit cc28612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/TestUtilities/OutputFileMapCreator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public struct OutputFileMapCreator {
3737
}
3838

3939
private func generateDict() -> [String: [String: String]] {
40-
let master = ["swift-dependencies": "\(derivedData.pathString)/\(module)-master.swiftdeps"]
40+
let master = ["swift-dependencies": derivedData.appending(component: "\(module)-master.swiftdeps").pathString.nativePathString()]
4141
let mainEntryDict = self.excludeMainEntry ? [:] : ["": master]
4242
func baseNameEntry(_ s: AbsolutePath) -> [String: String] {
4343
[

0 commit comments

Comments
 (0)