diff --git a/pkg/util/indexparamcheck/scann_checker_test.go b/pkg/util/indexparamcheck/scann_checker_test.go index 91a1f6c6a08cd..7e86beeb1f831 100644 --- a/pkg/util/indexparamcheck/scann_checker_test.go +++ b/pkg/util/indexparamcheck/scann_checker_test.go @@ -4,10 +4,10 @@ import ( "strconv" "testing" + "github.com/stretchr/testify/assert" + "github.com/milvus-io/milvus-proto/go-api/v2/schemapb" "github.com/milvus-io/milvus/pkg/util/metric" - - "github.com/stretchr/testify/assert" ) 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) { - cases := []struct { dType schemapb.DataType errIsNil bool