commit 9e4f0122f5264fdab7b786adcbd37a232f84ea57
parent a80ddc08ec678753c2f84b58ee9f5acbf0a915a6
Author: Jing维 <zhjw43@163.com>
Date: Sun, 26 Nov 2023 14:19:44 +0800
update testdata URL path
Closes: https://github.com/damus-io/damus/pull/1767
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/TestData.swift b/damus/TestData.swift
@@ -58,7 +58,7 @@ var test_damus_state: DamusState = ({
let fileManager = FileManager.default
let temp = fileManager.temporaryDirectory.appendingPathComponent(UUID().uuidString)
try fileManager.createDirectory(at: temp, withIntermediateDirectories: true, attributes: nil)
- tempDir = temp.absoluteString
+ tempDir = temp.path(percentEncoded: false)
} catch {
tempDir = "."
}