Skip to content

Commit

Permalink
make gofmt happy
Browse files Browse the repository at this point in the history
  • Loading branch information
zz-jason committed Aug 8, 2018
1 parent 9307768 commit 31ad818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plan/planbuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func (s *testPlanBuilderSuite) TestGetPathByIndexName(c *C) {
}

accessPath := []*accessPath{
&accessPath{isTablePath: true},
&accessPath{index: &model.IndexInfo{Name: model.NewCIStr("idx")}},
{isTablePath: true},
{index: &model.IndexInfo{Name: model.NewCIStr("idx")}},
}

path := getPathByIndexName(accessPath, model.NewCIStr("idx"), tblInfo)
Expand Down

0 comments on commit 31ad818

Please sign in to comment.