1
0
Fork 0

Correct test failure error

master
Philip O'Toole 1 year ago
parent 456c90e193
commit da11903312

@ -126,7 +126,7 @@ func Test_FileCreationOnDisk(t *testing.T) {
// Confirm checkpoint works without error on a database in DELETE Mode.
// It's just ignored.
if err := db.Checkpoint(5 * time.Second); err != nil {
t.Fatalf("failed to checkpoint in-memory database: %s", err.Error())
t.Fatalf("failed to checkpoint database in DELETE mode: %s", err.Error())
}
if _, err := os.Stat(dbPath); os.IsNotExist(err) {

Loading…
Cancel
Save