Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Apr 27, 2024
1 parent 2389f79 commit ae1afd5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mdbx/txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package mdbx
import (
"bytes"
"encoding/binary"
"errors"
"fmt"
"runtime"
"syscall"
Expand Down Expand Up @@ -432,8 +433,8 @@ func TestTxn_OpenDBI_zero(t *testing.T) {
panic(err)
}
_, err = txn.Get(dbi, []byte("k"))
if !IsErrno(err, ErrNotFound) {
t.Errorf("mdb_dbi_open: %v", err)
if !errors.Is(err, ErrNotFound) {
panic(err)
}
}

Expand Down

0 comments on commit ae1afd5

Please sign in to comment.