mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
26f06dd732
Signed-off-by: SimFG <bang.fu@zilliz.com>
14 lines
271 B
Go
14 lines
271 B
Go
package indexparamcheck
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
|
)
|
|
|
|
func TestCheckIndexValid(t *testing.T) {
|
|
assert.NoError(t, CheckIndexValid(schemapb.DataType_Int64, "inverted_index", nil))
|
|
}
|