1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +00:00

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>
This commit is contained in:
Jing维 2023-11-26 14:19:44 +08:00 committed by William Casarin
parent a80ddc08ec
commit 9e4f0122f5

View File

@ -58,7 +58,7 @@ var test_damus_state: DamusState = ({
let fileManager = FileManager.default let fileManager = FileManager.default
let temp = fileManager.temporaryDirectory.appendingPathComponent(UUID().uuidString) let temp = fileManager.temporaryDirectory.appendingPathComponent(UUID().uuidString)
try fileManager.createDirectory(at: temp, withIntermediateDirectories: true, attributes: nil) try fileManager.createDirectory(at: temp, withIntermediateDirectories: true, attributes: nil)
tempDir = temp.absoluteString tempDir = temp.path(percentEncoded: false)
} catch { } catch {
tempDir = "." tempDir = "."
} }