Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Oct 5, 2024
1 parent ddf4d00 commit a3f59a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions memiavl/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package memiavl
import (
"encoding/hex"
"errors"
fmt "fmt"
"os"
"path/filepath"
"runtime/debug"
Expand Down Expand Up @@ -322,6 +323,7 @@ func TestZeroCopy(t *testing.T) {
// reset global panic on fault setting after function finished
defer debug.SetPanicOnFault(debug.SetPanicOnFault(true))
require.Panics(t, func() {
fmt.Println("mm-value", value)
require.Equal(t, []byte("world"), value)
})

Expand Down

0 comments on commit a3f59a7

Please sign in to comment.