mirror of
https://github.com/softinio/Fishee.git
synced 2025-02-22 13:36:04 -08:00
test if file exists before doing backup test
This commit is contained in:
parent
41d508c1de
commit
984cd30c29
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ final class ParserTests {
|
|||
#expect(fileContent == expectedEntry)
|
||||
|
||||
// confirm backup functionality is working
|
||||
#expect(FileManager.default.fileExists(atPath: filePathforWriteTest.path))
|
||||
|
||||
let write_again = writeFishHistory(
|
||||
to: filePathforWriteTest.path,
|
||||
history: [historyItem],
|
||||
|
|
Loading…
Reference in a new issue