1
0
Fork 0

Better testing

master
Philip O'Toole 1 year ago
parent 539e578227
commit b64efbdee1

@ -358,7 +358,7 @@ func Test_WALReplayFailures(t *testing.T) {
err := ReplayWAL(filepath.Join(dbDir, "foo.db"), []string{filepath.Join(walDir, "foo.db-wal")}, false)
if err != ErrWALReplayDirectoryMismatch {
t.Fatalf("expected ErrWALReplayDirectoryMismatch, got %s", err.Error())
t.Fatalf("expected %s, got %s", ErrWALReplayDirectoryMismatch, err.Error())
}
}

Loading…
Cancel
Save