mirror of
https://github.com/softinio/Fishee.git
synced 2025-02-22 13:36:04 -08:00
Use temp directory for tests
This commit is contained in:
parent
54edbfc36c
commit
ade4af2a8d
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ final class ParserTests {
|
||||||
cmd: "cd Projects/Fishee/", when: 1_727_545_693, paths: ["Projects/Fishee/"])
|
cmd: "cd Projects/Fishee/", when: 1_727_545_693, paths: ["Projects/Fishee/"])
|
||||||
let historyItem2 = FishHistoryEntry(
|
let historyItem2 = FishHistoryEntry(
|
||||||
cmd: "swift package tools-version", when: 1_727_545_709, paths: [])
|
cmd: "swift package tools-version", when: 1_727_545_709, paths: [])
|
||||||
let filePathforWriteTest = FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(
|
let filePathforWriteTest = FileManager.default.temporaryDirectory.appendingPathComponent(
|
||||||
"myfile.txt")
|
"myfile.txt")
|
||||||
let filePathforFileBackupTest = FileManager.default.homeDirectoryForCurrentUser
|
let filePathforFileBackupTest = FileManager.default.temporaryDirectory
|
||||||
.appendingPathComponent("myfile_copy.txt")
|
.appendingPathComponent("myfile_copy.txt")
|
||||||
|
|
||||||
deinit {
|
deinit {
|
||||||
|
|
Loading…
Reference in a new issue