featurebase/dax/boltdb/boltdb_test.go
2022-12-12 09:01:20 -08:00

17 lines
299 B
Go

package boltdb_test
import (
"testing"
"github.com/featurebasedb/featurebase/v3/dax/test/boltdb"
)
// Ensure the test database can open & close.
func TestDB(t *testing.T) {
db := boltdb.MustOpenDB(t)
defer boltdb.MustCloseDB(t, db)
t.Cleanup(func() {
boltdb.CleanupDB(t, db.Path())
})
}