milvus/internal/util/indexparamcheck/scalar_index_checker_test.go

13 lines
267 B
Go

package indexparamcheck
import (
"testing"
"github.com/milvus-io/milvus-proto/go-api/schemapb"
"github.com/stretchr/testify/assert"
)
func TestCheckIndexValid(t *testing.T) {
assert.NoError(t, CheckIndexValid(schemapb.DataType_Int64, "inverted_index", nil))
}