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

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

13 lines
258 B
Go

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