mirror of
https://github.com/skidoodle/safebin.git
synced 2026-04-28 03:07:41 +02:00
@@ -23,7 +23,7 @@ func TestInitDB(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
|
||||
dbPath := filepath.Join(tmpDir, DBFileName)
|
||||
dbPath := filepath.Join(tmpDir, DBDirName, DBFileName)
|
||||
if _, err := os.Stat(dbPath); os.IsNotExist(err) {
|
||||
t.Error("Database file was not created")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user