changed test to enforce abortions

This commit is contained in:
StephenButtolph 2020-06-22 18:14:35 -04:00
parent 5b6debbaba
commit 7ef37af0d6
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ func TestCommitBatch(t *testing.T) {
}
db.Abort()
if has, err := baseDB.Has(key1); err != nil {
if has, err := db.Has(key1); err != nil {
t.Fatalf("Unexpected error on db.Has: %s", err)
} else if has {
t.Fatalf("Unexpected result of db.Has: %v", has)