mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
41af0a98fa
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
13 lines
270 B
Go
13 lines
270 B
Go
package indexparamcheck
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCheckIndexValid(t *testing.T) {
|
|
assert.NoError(t, CheckIndexValid(schemapb.DataType_Int64, "inverted_index", nil))
|
|
}
|