We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4193eb6 commit 4a3f755Copy full SHA for 4a3f755
Sources/_InternalTestSupport/misc.swift
@@ -100,7 +100,7 @@ public func testWithTemporaryDirectory<Result>(
100
101
// Use shorter prefix on Windows to avoid MAX_PATH issues
102
#if os(Windows)
103
- let prefix = "spm-\(abs(cleanedFunction.hashValue))"
+ let prefix = "spm-\(String(abs(cleanedFunction.hashValue)).prefix(5))"
104
#else
105
let prefix = "spm-tests-\(cleanedFunction)"
106
#endif
0 commit comments