mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Fix gofumpt issue in scann_checker_test.go (#27305)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
fc9a9a7926
commit
67a471e09c
@ -4,10 +4,10 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
||||||
"github.com/milvus-io/milvus/pkg/util/metric"
|
"github.com/milvus-io/milvus/pkg/util/metric"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test_scaNNChecker_CheckTrain(t *testing.T) {
|
func Test_scaNNChecker_CheckTrain(t *testing.T) {
|
||||||
@ -99,7 +99,6 @@ func Test_scaNNChecker_CheckTrain(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_scaNNChecker_CheckValidDataType(t *testing.T) {
|
func Test_scaNNChecker_CheckValidDataType(t *testing.T) {
|
||||||
|
|
||||||
cases := []struct {
|
cases := []struct {
|
||||||
dType schemapb.DataType
|
dType schemapb.DataType
|
||||||
errIsNil bool
|
errIsNil bool
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user