mirror of https://github.com/poanetwork/gecko.git
changed test to enforce abortions
This commit is contained in:
parent
5b6debbaba
commit
7ef37af0d6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue