mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
13 lines
269 B
Go
13 lines
269 B
Go
package indexparamcheck
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/milvus-io/milvus/internal/proto/schemapb"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCheckIndexValid(t *testing.T) {
|
|
assert.NoError(t, CheckIndexValid(schemapb.DataType_Int64, "inverted_index", nil))
|
|
}
|