From 2de75941fd30e0255511575b7f126052b18033ba Mon Sep 17 00:00:00 2001 From: xuyifan <675434007@qq.com> Date: Mon, 13 Dec 2021 14:41:59 +0800 Subject: [PATCH] fmt --- planner/util/path_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/planner/util/path_test.go b/planner/util/path_test.go index 17c72c78b3aee..dd25e9b519a76 100644 --- a/planner/util/path_test.go +++ b/planner/util/path_test.go @@ -100,7 +100,6 @@ func TestOnlyPointRange(t *testing.T) { intHandlePath.Ranges = []*ranger.Range{&onePointRange, &one2TwoRange} require.False(t, intHandlePath.OnlyPointRange(sctx)) - indexPath := &util.AccessPath{Index: &model.IndexInfo{Columns: make([]*model.IndexColumn, 1)}} indexPath.Ranges = []*ranger.Range{&onePointRange} require.True(t, indexPath.OnlyPointRange(sctx))