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维 authored and William Casarin committed 2023-11-26 13:06:10 -08:00
1 parent a80ddc08ec
commit 9e4f0122f5
1 file changed
+1 -1
+1 -1
View File
@@ -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 = "."
}