Skip to content

Commit

Permalink
fix: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mojixcoder committed Aug 17, 2024
1 parent d5c086e commit d488fcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion h3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,13 +636,13 @@ func TestCellToVertex(t *testing.T) {

for i, tc := range testCases {
tc := tc

t.Run(fmt.Sprint(i), func(t *testing.T) {
t.Parallel()
vertex := CellToVertex(tc.cell, tc.vertexNum)
assertEqual(t, tc.expectedVertex, vertex)
})
}

}

func TestCellToVertexes(t *testing.T) {
Expand All @@ -659,6 +659,7 @@ func TestCellToVertexes(t *testing.T) {

for _, tc := range testCases {
tc := tc

t.Run(fmt.Sprint(tc.numVertexes), func(t *testing.T) {
t.Parallel()
vertexes := CellToVertexes(tc.cell)
Expand All @@ -680,6 +681,7 @@ func TestVertexToLatLng(t *testing.T) {

for i, tc := range testCases {
tc := tc

t.Run(fmt.Sprint(i), func(t *testing.T) {
t.Parallel()
latLng := VertexToLatLng(tc.vertex)
Expand Down

0 comments on commit d488fcd

Please sign in to comment.