Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyifangreeneyes committed Dec 13, 2021
1 parent 833c520 commit 2de7594
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion planner/util/path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2de7594

Please sign in to comment.