milvus/internal/util/indexparamcheck/scalar_index_checker_test.go
SimFG a55f739608
Separate public proto files (#19782)
Signed-off-by: SimFG <bang.fu@zilliz.com>

Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-10-16 20:49:27 +08:00

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))
}