diff --git a/Sources/TSCTestSupport/misc.swift b/Sources/TSCTestSupport/misc.swift index 6d58aa17..3201b4c1 100644 --- a/Sources/TSCTestSupport/misc.swift +++ b/Sources/TSCTestSupport/misc.swift @@ -33,6 +33,7 @@ public func testWithTemporaryDirectory( .replacingOccurrences(of: "(", with: "") .replacingOccurrences(of: ")", with: "") .replacingOccurrences(of: ".", with: "") + .replacingOccurrences(of: ":", with: "_") try withTemporaryDirectory(prefix: "spm-tests-\(cleanedFunction)") { tmpDirPath in defer { // Unblock and remove the tmp dir on deinit.