func TestBucket(t *testing.T) {
	bx := NewTestDB()
	defer bx.Close()

	_, err := bx.New([]byte("things"))
	if err != nil {
		t.Error(err.Error())
	}

	if err := bx.Delete([]byte("things")); err != nil {
		t.Error(err.Error())
	}
}
// Ensure that we can create and delete a bucket.
Ensure that we can create and delete a bucket.
// Ensure that we can create and delete a bucket .
func TestBucket(t *testing.T) {
	bx := NewTestDB()
	defer bx.Close()
	_, err := bx.New([]byte("things"))
	if err != nil {
		t.Error(err.Error())
	}
	if err := bx.Delete([]byte("things")); err != nil {
		t.Error(err.Error())
	}
}
func TestBucket ( t * testing . T ) { bx := NewTestDB ( ) defer bx . Close ( ) _ , err := bx . New ( [ ] byte ( " " ) ) if err != nil { t . Error ( err . Error ( ) ) } if err := bx . Delete ( [ ] byte ( " " ) ) ; err != nil { t . Error ( err . Error ( ) ) } }
Ensure that we can create and delete a bucket.
Ensure that we can create and delete a bucket .