mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
17 lines
299 B
Go
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())
|
|
})
|
|
}
|