Files
nostrlib/sdk/hints/test/lmdb_test.go
2025-04-15 00:00:03 -03:00

22 lines
285 B
Go

package test
import (
"os"
"testing"
"fiatjaf.com/nostr/sdk/hints/lmdbh"
)
func TestLMDBHints(t *testing.T) {
path := "/tmp/tmpsdkhintslmdb"
os.RemoveAll(path)
hdb, err := lmdbh.NewLMDBHints(path)
if err != nil {
t.Fatal(err)
}
defer hdb.Close()
runTestWith(t, hdb)
}